User:CoolGamer23/global.js

/* Any JavaScript here will be loaded for all users on every page load. */ /********** Pencil of Doom **********/ $('#removeads').on('click',function{   $('.WikiaTopAds').fadeOut(100);    $('.home-top-right-ads').fadeOut(100);    $('.wikia-ad').fadeOut(100);    $('.SelfServeUrl').fadeOut(100);    $('#WikiaArticleBottomAd').fadeOut(100);    $('.WikiaAdInContentPlaceHolder').fadeOut(100);    $('.WikiaAdInContent').fadeOut(100);    $('#removeads').fadeOut(100);    var audioElement = document.createElement('audio');    audioElement.setAttribute('src', 'http://vignette3.wikia.nocookie.net/hitlerparody/images/b/b3/PoD.ogg');    audioElement.play; });