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(' '); $("#Frau1").replaceWith(' '); $("#TMSF").replaceWith(' '); $("#SnowmanSnowglobe").replaceWith(' '); $("#Poobutton").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/165945b3-df4d-4d9e-a7fd-3b889699746c" frameborder="0" allowfullscreen> '); $("#Offended").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e263feca-5e93-4261-98be-a96f0665004e" frameborder="0" allowfullscreen> '); $("#MazeGame10").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/8fec998d-9d9d-4b59-bbd6-3da5efbc577a" frameborder="0" allowfullscreen> '); $("#SomebodyLovesYou").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e4a811f5-4597-4f8c-a64f-4ed0c79f7b2b" frameborder="0" allowfullscreen> '); $("#TinyDotMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e6f51c39-1450-400b-ab4a-cc267dec1665" frameborder="0" allowfullscreen> '); $("#SteadyHand").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/72f1f676-9c47-4f7d-9664-536f7fbf6a76" frameborder="0" allowfullscreen> '); $("#Tortazo").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/20cd8d45-82df-4d4b-80e1-d9863b51760a" frameborder="0" allowfullscreen> '); $("#OnlineHunting").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-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> '); $("#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'    ] });