Permanently protected page

MediaWiki:Common.js: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
No edit summary
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
$("#Blue").replaceWith('<iframe width="1" height="1" src="https://www.youtube.com/embed/XgztfRBc2jM?autoplay=1&loop=1&playlist=XgztfRBc2jM"; frameborder="0" allowfullscreen></iframe>');
$("#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"></iframe>');


//Poll Test
//Poll Test
$("#PollTest").replaceWith('<iframe src="https://polls.screamer.wiki/polls.php?id=45&embed=1&estyle=DefaultLight" width="500" max-width="500" height="600" max-height="800">');
$("#PollTest").replaceWith('<iframe src="https://polls.screamer.wiki/polls.php?id=45&embed=1&estyle=DefaultLight" width="500" max-width="500" height="400" max-height="600">');
$("#PollTest2").replaceWith('<iframe src="https://polls.screamer.wiki/polls.php?id=49&embed=1&estyle=DefaultDark" width=500" max-width="500" height="500" max-height="800" style="border: none">');


$("#Clockkia").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/59af497e-e19d-44bd-b97f-6d67344c687e" frameborder="0" allowfullscreen></iframe>');
$("#Blue").replaceWith('<iframe width="1" height="1" src="https://www.youtube.com/embed/XgztfRBc2jM?autoplay=1&loop=1&playlist=XgztfRBc2jM"; frameborder="0" allowfullscreen></iframe>');
$("#US2").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/1fc0eb51-ec9e-4139-b471-d8dd8ca2f5bc" frameborder="0" allowfullscreen></iframe>');
$("#Maze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ba00e850-62b3-497b-91be-80fcec2d50b8" frameborder="0" allowfullscreen></iframe>');
$("#Maze1").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/4e46022e-9322-4814-9c4f-d81b1c0b30f8" frameborder="0" allowfullscreen></iframe>');
$("#ScaryRacingGame").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/4ca169bf-1bde-4638-bbd7-c8165f7ae1ad" frameborder="0" allowfullscreen></iframe>');
$("#Skydiving").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/4fa948c2-05df-4897-8650-02ac99cf8d0e" frameborder="0" allowfullscreen></iframe>');
$("#ScanAnalysis").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/465ddb23-5484-45bc-aff4-93a263e5a10f" frameborder="0" allowfullscreen></iframe>');
$("#iframeloader-OpticalIllusions").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/2336620c-296b-4f85-a911-48486fa0cc6a" frameborder="0" allowfullscreen></iframe>');
$("#iframeloader-GoodIntentions").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/19d47a44-10d6-4c6b-9203-31bf684db67e" frameborder="0" allowfullscreen></iframe>');
$("#iframeloader-ABabyToy").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/04dbcd3a-4ac5-4d01-9487-0129915d8411" frameborder="0" allowfullscreen></iframe>');
$("#iframeloader-JingleBellsReversed").replaceWith('<iframe src=https://www.bitchute.com/embed/gyxTQDvlDDay/ WIDTH=480 HEIGHT=360>');
$("#iframeloader-ChrisTheJackOLantern").replaceWith('<iframe src=https://www.bitchute.com/embed/BzK2JS21Ng5l/ WIDTH=480 HEIGHT=360>');
$("#iframeloader-ChrisTheJackOLantern2").replaceWith('<iframe src=https://www.bitchute.com/embed/gK7fMHZ1socY/ WIDTH=480 HEIGHT=360>');
$("#iframeloader-UltimateMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/cf31c17e-76c6-4230-bc50-45411e19f0d6" frameborder="0" allowfullscreen></iframe>');
$("#iframeloader-DolphinSwim").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/2ba97ac8-befc-46e5-b6da-5d6dc6b2fbd8" frameborder="0" allowfullscreen></iframe>');
$("#iframeloader-ReverseSongPrank").replaceWith('<iframe src=https://www.bitchute.com/video/ofkuHcKaW886/ WIDTH=640 HEIGHT=360>');
$("#iframeloader-Find5ThingsWrong").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/6bcb5592-8d16-4291-a424-a7f0cb1c062f" frameborder="0" allowfullscreen></iframe>');
$("#iframeloader-Danceswf").replaceWith('<iframe width="640" height="360" scrolling="no" frameborder="0" style="border: none;" src="https://video.screamer.wiki/videos/embed/d725b216-3d39-4a83-8bf1-f94c3675db35"></iframe>');
$("#iframeloader-HeartFace").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/45e6d6ea-72e6-4767-855e-dd68e91fe346" frameborder="0" allowfullscreen></iframe>');
$("#UltimateShowdown2").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/1fc0eb51-ec9e-4139-b471-d8dd8ca2f5bc" frameborder="0" allowfullscreen></iframe>');
$("#DuckPack51").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/d40016d5-ad39-4afc-808b-d6363667bb42" frameborder="0" allowfullscreen></iframe>');
$("#iframeloader-CountingSheep").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/464f0dad-e118-4ba3-9bc5-f07029832119" frameborder="0" allowfullscreen></iframe>');
$("#BlackMazeGame").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ff465dea-16c7-4247-8a2e-04f2f701a3e4" frameborder="0" allowfullscreen></iframe>');
$("#Frau1").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/c02afea4-8bcf-46f8-9aef-0990e5070c7f" frameborder="0" allowfullscreen></iframe>');
$("#TMSF").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ec89c967-5a28-4d5f-9ad6-d49d61e70b50" frameborder="0" allowfullscreen></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#iframeloader-MazeGame6").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/9e0f67c0-0975-448d-86db-bce9b70dfd89" frameborder="0" allowfullscreen></iframe>');
$("#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></iframe>');
$("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></iframe>');
$("#iframeloader-MazeGame3").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ccb544c7-c994-488a-b593-00d7df61322a" frameborder="0" allowfullscreen></iframe>');
$("#iframeloader-MazeGame5").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/d9ca2d64-ec63-44f2-aa89-e6e772e024d5" frameborder="0" allowfullscreen></iframe>');
$("#iframeloader-MazeGame2").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/128a110a-5ae8-4b1f-b508-3fac73c6e382" frameborder="0" allowfullscreen></iframe>');
$("#iframeloader-MazeGame7").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/2ce1c54e-0124-42be-a2eb-89492d106a91" frameborder="0" allowfullscreen></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#ScaryYahoo").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/612effec-3bb2-45d2-b8a9-acb5fbb29e1b" frameborder="0" allowfullscreen></iframe>');
$("#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></iframe>');
$("#IHATEYOU").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/6b441a24-3817-48bd-9e3c-1b02f546c50d" frameborder="0" allowfullscreen></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#7LevelScaryMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/1e9844f0-d73e-42dc-ab59-d26086c37441" frameborder="0" allowfullscreen></iframe>');
$("#SaveSammyMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/85858495-5c55-4b14-8387-ea3b846db081" frameborder="0" allowfullscreen></iframe>');
$("#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></iframe>');
$("#Google").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/21567a0c-57c4-49ba-b178-f4f927a6e307" frameborder="0" allowfullscreen></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#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></iframe>');
$("#KEKMA").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/61c0d013-f6ef-4822-a653-857845eaa2fa" frameborder="0" allowfullscreen></iframe>');
$("#StrangeMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/09e8edf9-e7ec-4ec8-b73d-5178ff47d953" frameborder="0" allowfullscreen></iframe>');
$("#Strangevideo").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/709c9646-4d31-4dcf-905d-dd1e5e61472b" frameborder="0" allowfullscreen></iframe>');
$("#Carti").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ef76aa96-fb96-4d5b-9668-27566b789d0c" frameborder="0" allowfullscreen></iframe>');
$("#CS").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/f7785c5a-4f84-4695-a405-96daa771993a" frameborder="0" allowfullscreen></iframe>');
$("#GC").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ec8f967d-43cd-4621-8515-b7432d52057c" frameborder="0" allowfullscreen></iframe>');
$("#ScanAnalysis").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/465ddb23-5484-45bc-aff4-93a263e5a10f" frameborder="0" allowfullscreen></iframe>');
$("#Strange Pictures").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/47a4408e-0774-43bc-aa4f-c40fd3835fc9" frameborder="0" allowfullscreen></iframe>');
$("#DancinCats").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e2e8258f-9e55-43a4-800a-ccab73320c2b" frameborder="0" allowfullscreen></iframe>');
$("#ShakeyMacGeesNeedleThreadingChallenge").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e9359327-46a9-4693-a59a-732155eb35b1" frameborder="0" allowfullscreen></iframe>');
$("#TheMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/c3iHYLcXHJ3UvSd2qMXf6S" frameborder="0" allowfullscreen></iframe>');
$("#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"></iframe>');
$("#TobyPastaRedirect").replaceWith('<iframe src=https://host.screamer.wiki/tobypastaredirect.html></iframe>');
/* Replaces {{Username}} with the name of the user browsing the page.
/* Replaces {{Username}} with the name of the user browsing the page.
   Requires copying Template:Username. */
   Requires copying Template:Username. */

Latest revision as of 15:32, 6 December 2023

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

$("#Blue").replaceWith('<iframe width="1" height="1" src="https://www.youtube.com/embed/XgztfRBc2jM?autoplay=1&loop=1&playlist=XgztfRBc2jM"; frameborder="0" allowfullscreen></iframe>');
$("#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"></iframe>');

//Poll Test
$("#PollTest").replaceWith('<iframe src="https://polls.screamer.wiki/polls.php?id=45&embed=1&estyle=DefaultLight" width="500" max-width="500" height="400" max-height="600">');
$("#PollTest2").replaceWith('<iframe src="https://polls.screamer.wiki/polls.php?id=49&embed=1&estyle=DefaultDark" width=500" max-width="500" height="500" max-height="800" style="border: none">');

/* Replaces {{Username}} with the name of the user browsing the page.
   Requires copying Template:Username. */

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


/* 
 * Script Name: InputUsername
 * Author: Ihojose
 *
 * Adds the username of the user viewing the page.
 * Only works for logged in users.
 *
 * Added by Spottra 5-Apr-2015:
 * Individual users can define "window.disableUsernameReplace = true;" in their
 * global.js or local common.js file to disable the replacement for themselves if
 * they so desire.
 */

/* global $, mw */
;(function (window, $, mw) {
    'use strict';
    var username = mw.config.get('wgUserName');
    if (
        window.disableUsernameReplace ||
        !username
    ) {
        return;
    }
    window.disableUsernameReplace = true;
    var $rail = $('#WikiaRail'),
        customSelector = window.UsernameReplaceSelector
            ? ', ' + window.UsernameReplaceSelector
            : '';
    function inputUsername($content) {
        $content.find('.InputUsername, .insertusername' + customSelector).text(username);
    }
    mw.hook('wikipage.content').add(inputUsername);
    if ($rail.hasClass('loaded')) {
        inputUsername($rail);
    } else if ($rail.length) {
        $rail.on('afterLoad.rail',
            $.proxy(inputUsername, null, $rail)
        );
    }
})(window, jQuery, mediaWiki);