MediaWiki:Common.js: Difference between revisions
From Screamer Wiki
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
$("#iframeloader-ReverseSongPrank").replaceWith('<iframe src=https://www.bitchute.com/video/ofkuHcKaW886/ 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-Danceswf").replaceWith('<iframe width="640" height="360" scrolling="no" frameborder="0" style="border: none;" src="https://www.bitchute.com/embed/a5lCBw302JyO/"></iframe>'); | ||
$("#COVID19").replaceWith(' | |||
<div data-cdc-widget="micrositeCollectionViewer" data-cdc-collectionid="403305" data-cdc-theme="theme-blue" data-cdc-geotag="{'continent': '6255149', 'country': '6252001', 'state': '', 'region': '' }" ></div> | |||
<script src='//tools.cdc.gov/TemplatePackage/contrib/widgets/tp-widget-external-loader.js' ></script>"); | |||
$("#Attributions").replaceWith('<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.'); | $("#Attributions").replaceWith('<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.'); | ||
$("#iframeloader-HitTheDot").replaceWith('<iframe src=https://www.bitchute.com/embed/AeyDEgrX8oAV/ WIDTH=480 HEIGHT=360>'); | $("#iframeloader-HitTheDot").replaceWith('<iframe src=https://www.bitchute.com/embed/AeyDEgrX8oAV/ WIDTH=480 HEIGHT=360>'); |
Revision as of 09:48, 12 March 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 src=https://www.bitchute.com/embed/7ONLxUCacy4c/ WIDTH=480 HEIGHT=360>');
$("#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>');
$("#COVID19").replaceWith('
<div data-cdc-widget="micrositeCollectionViewer" data-cdc-collectionid="403305" data-cdc-theme="theme-blue" data-cdc-geotag="{'continent': '6255149', 'country': '6252001', 'state': '', 'region': '' }" ></div>
<script src='//tools.cdc.gov/TemplatePackage/contrib/widgets/tp-widget-external-loader.js' ></script>");
$("#Attributions").replaceWith('<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.');
$("#iframeloader-HitTheDot").replaceWith('<iframe src=https://www.bitchute.com/embed/AeyDEgrX8oAV/ WIDTH=480 HEIGHT=360>');
/* 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'
]
});