MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ $("#iframeloader-GoodIntentions").replaceWith(''); $("#iframeloader-ABabyToy").replaceWith(''); $("#iframeloader-JingleBellsReversed").replaceWith(''); $("#iframeloader-ChrisTheJackOLantern").replaceWith(''); $("#iframeloader-ChrisTheJackOLantern2").replaceWith('');

$("#Attributions").replaceWith(' This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.'); $("#iframeloader-HitTheDot").replaceWith('');

/* BitChute Player (adapted from YouTube player .js) */ mw.hook('wikipage.content').add(function($content) {   $content.find('.bitchuteplayer:not(.loaded)').each(function { var $this = $(this), data = $this.data, uri = new mw.Uri('https://www.bitchute.com/embed/'), id = String(data.id || '').trim; if (id === '') { console.warn('[BitChute Player] Video ID is not defined.'); return; }       uri.path += id; $this.html(           $(' ', { width: String(data.width || '').trim, height: String(data.height || '').trim, src: uri.toString, })       ).addClass('loaded'); }); });