MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ $("#iframeloader-GoodIntentions").replaceWith(''); $("#iframeloader-ABabyToy").replaceWith(' '); $("#iframeloader-JingleBellsReversed").replaceWith(''); $("#iframeloader-ChrisTheJackOLantern").replaceWith(''); $("#iframeloader-ChrisTheJackOLantern2").replaceWith(''); $("#iframeloader-UltimateMaze").replaceWith(''); $("#iframeloader-DolphinSwim").replaceWith(' '); $("#iframeloader-ReverseSongPrank").replaceWith(''); $("#iframeloader-Find5ThingsWrong").replaceWith(' '); $("#iframeloader-Danceswf").replaceWith(' '); $("#iframeloader-HeartFace").replaceWith(' '); $("#iframeloader-CountingSheep").replaceWith(' '); $("#BlackMazeGame").replaceWith(' '); $("#TMSF").replaceWith(' '); $("#TinyDotMaze").replaceWith(' '); $("#SteadyHand").replaceWith(' '); $("#iframeloader-MazeGame6").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/bfa49354-8c04-42e5-a3c6-8613e8386339" frameborder="0" allowfullscreen> '); $("#iframeloader-ScaryMazeIO").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/1e5b5810-3bc2-4e4e-b1ed-0343c310335f" frameborder="0" allowfullscreen> '); $("iframeloader-MonkeySugar").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e95a9659-e994-4fdc-814c-ef2dc9b5dfaf" frameborder="0" allowfullscreen> '); $("Online Hunting").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/1e03cb09-54d6-42f8-8f1f-399d03cdd150" frameborder="0" allowfullscreen> '); $("#iframeloader-Discord").replaceWith('<iframe src="https://discord.com/widget?id=566164881762418695&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"> ');

/* Replaces with the name of the user browsing the page. Requires copying Template:Username. */ function UserNameReplace { if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return; $("span.insertusername").html(wgUserName); } addOnloadHook(UserNameReplace); importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:YoutubePlayer/code.js'    ] });