Permanently protected page

MediaWiki:Common.js: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 14: Line 14:
$("#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>');
$("#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>');
$("#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.exe").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>');
$("#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/5398819d-2c32-4194-8608-284e5be4168d" 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/5398819d-2c32-4194-8608-284e5be4168d" 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>');
$("#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>');
Line 27: Line 27:
$("#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-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-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>');
$("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></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-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>');
$("#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>');



Revision as of 19:50, 3 October 2020

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

$("#iframeloader-GoodIntentions").replaceWith('<iframe src=https://www.bitchute.com/embed/UNBNbGMM1B1q/ WIDTH=480 HEIGHT=360>');
$("#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 src=https://www.bitchute.com/embed/mJ6UtllaD6qf/ WIDTH=480 HEIGHT=360>');
$("#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=480 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://www.bitchute.com/embed/a5lCBw302JyO/"></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>');
$("#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/5398819d-2c32-4194-8608-284e5be4168d" 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/165945b3-df4d-4d9e-a7fd-3b889699746c" 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/8fec998d-9d9d-4b59-bbd6-3da5efbc577a" 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>');
$("#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></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>');
$("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-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>');


/* Replaces {{Username}} 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'
    ]
});