MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

 var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function {   var u="//analytics.screamer.wiki/";    _paq.push(['setTrackerUrl', u+'matomo.php']);    _paq.push(['setSiteId', '1']);    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];    g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);  });

$("#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('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/6ef5b6dc-35cb-4843-b240-8fb4bea95275" frameborder="0" allowfullscreen> '); $("#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> '); $("#RockingChair").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/cbbb9036-ab96-4147-9737-63844fb88d57" frameborder="0" allowfullscreen> '); $("#LongestBus").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/2ee4c2af-9006-4bef-89e1-eb181dafdaa6" frameborder="0" allowfullscreen> '); $("#Tails").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/8ad13fd2-dd8b-436a-b40e-97b5c365ec64" frameborder="0" allowfullscreen> '); $("#Women").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/23be8ae9-cc1b-407b-9917-7efbf7a6b123" frameborder="0" allowfullscreen> '); $("#VS").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/9bff266d-2afa-4191-9add-629a7395c316" frameborder="0" allowfullscreen> '); $("#3DScaryMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/40e57a46-d146-4e07-b6ca-0418d611427c" frameborder="0" allowfullscreen> '); $("#MCEscherExaminations").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/098cdf4b-d409-4dd8-8153-bc9da4869b1c" frameborder="0" allowfullscreen> '); $("#1Lunatic1IcePick").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ff1cff9c-282d-44fd-b7b1-64767f93b189" frameborder="0" allowfullscreen> '); $("#HeyArnold").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/cf37a73a-9742-43b6-af2f-fa09b801a9b3" frameborder="0" allowfullscreen> '); $("#GameofCoolness").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/5fd94e8d-0aff-45e3-9ed8-a9837dae3eb3" 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"> ');

$("#iframeloader-Twitter").replaceWith('<iframe src="https://twitter.com/screamerwiki?ref_src=twsrc%5Etfw" frameborder="0" 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'    ] });