MediaWiki:Common.js: Difference between revisions

From Revolt Wiki
Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: →‎* SUS: const susElement = document.createElement('li'); susElement.id = "footer-places-sus"; const img = document.createElement('img'); img.src = "https://static.revolt.chat/emoji/fluent-3d/1f99d.svg?v=1"; img.width = "64px"; img.height = "64px"; susElement.append(img); document.querySelector('#footer-places').append(susElement); →‎* END SUS: "
 
Blanked the page
Tag: Blanking
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */


/** SUS */
const susElement = document.createElement('li');
susElement.id = "footer-places-sus";
const img = document.createElement('img');
img.src = "https://static.revolt.chat/emoji/fluent-3d/1f99d.svg?v=1";
img.width = "64px";
img.height = "64px";
susElement.append(img);
document.querySelector('#footer-places').append(susElement);
/** END SUS */

Latest revision as of 18:29, 6 January 2023