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/e84f550c-abb1-467e-a0b4-fbf5e4865d90" 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/3df32ab1-1681-41e1-9acd-73f2e8090f0f" 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> '); $("#RaveMusik").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/0481c403-a536-4451-a74c-6460163e8aa7" frameborder="0" allowfullscreen> '); $("#Scary.exe").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/0030cd8d-1cf9-48ad-aa7f-4b4d24ecfa84" frameborder="0" allowfullscreen> '); $("#ScaryYahoo").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/36aac75f-d7ff-45b2-bd2e-9475683dd266" frameborder="0" allowfullscreen> '); $("#MonkeySugar1").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> '); $("#IHATEYOU").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/92d6538f-5dbd-4c7f-8cd5-f9084273e7ee" frameborder="0" allowfullscreen> '); $("#3Orangutans1BlenderAudio").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/1fa18c8c-1d90-44b8-9d1b-32e4ba8994c7" frameborder="0" allowfullscreen> '); $("#MissingDog").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/9e98e554-1447-459c-b835-f91caa034254" frameborder="0" allowfullscreen> '); $("#GoogleSearch").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/9ff3eccf-8cf4-4e72-9e14-fdce773f7f44" frameborder="0" allowfullscreen> '); $("#7LevelScaryMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/7a8dde06-efee-4fc0-8ba7-833ce8a07c08" frameborder="0" allowfullscreen> '); $("#SaveSammyMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/b9515de5-bbb4-4db3-8191-1a62648a9772" frameborder="0" allowfullscreen> '); $("#DanishHandshake").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/fc9bf538-9f7d-429b-a53f-0d2a27de5721" frameborder="0" allowfullscreen> '); $("#Google").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/112d2904-bc2d-4953-8a15-6eb7904da4bf" frameborder="0" allowfullscreen> '); $("#FreeVBucks").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/2eb873e9-281e-4e48-801d-e3d123087310" 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. */

$wgGroupPermissions['annoymous']['createpage'] = false;

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'    ] });