Permanently protected page

MediaWiki:Common.js

From Screamer Wiki
Revision as of 13:30, 22 September 2020 by Lawiki (talk | contribs)
Jump to: navigation, search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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 src=https://www.bitchute.com/embed/8M3bHLhVsRGE/ WIDTH=480 HEIGHT=360>');
$("#iframeloader-ReverseSongPrank").replaceWith('<iframe src=https://www.bitchute.com/video/ofkuHcKaW886/ WIDTH=480 HEIGHT=360>');
$("#iframeloader-Danceswf").replaceWith('<iframe width="640" height="360" scrolling="no" frameborder="0" style="border: none;" src="https://www.bitchute.com/embed/a5lCBw302JyO/"></iframe>');
$("#iframeloader-Forums").replaceWith('<iframe src="http://forum.screamer.wiki" width="500" height="600" frameborder="no" scrolling="yes"></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'
    ]
});