User:Psl631/common.js

Wikia.js MediaWiki page VIEW SOURCE Note: After saving, you may have to bypass your browser's cache to see the changes.

Chrome - Windows: Hold the Ctrl key and press the F5 key. OS X: Hold both the ⌘ Cmd and ⇧ Shift keys and press the R key. Safari - Hold down the ⇧ Shift key and click the Reload toolbar button. Firefox - Windows: Hold the Ctrl key, and press F5. OS X: Hold the ⌘ Cmd and ⇧ Shift keys, and then press R. Internet Explorer - Hold the Ctrl key, and press F5 (or click the Refresh button). /*-- Framekiller --*/ // Additional UserRights Icons in profile mastheads // Please consider switching to http://dev.wikia.com/wiki/ProfileTags instead importScript('MediaWiki:Wikia.js/userRightsIcons.js'); // END Additional UserRights Icons in profile mastheads if (parent.frames.length > 0) { var file = document.referrer.match(/imgurl=(.*?)&/); if (file.length > 0) { top.location.href = document.location.href + '?file=' + file[1].split('/').pop; } else { top.location.href = document.location.href; } } /*-- SpoilerAlert --*/ window.SpoilerAlertJS = { question: 'This area contains spoilers. Are you sure you want to read it?', yes: 'Yes', no: 'No', fadeDelay: 1600 }; /**/ $(".pi-image").css({'background':$(".infoboxcolors").data('imagebackgroundcolor')}); $(".pi-data").css({'background':$(".infoboxcolors").data('databackgroundcolor'), 'color':$(".infoboxcolors").data('datafontcolor')}); /* Auto-refreshing recent changes */ window.ajaxPages = [ "Special:WikiActivity", "Special:RecentChanges", "Special:Watchlist", "Special:Log", "Special:Contributions" ]; window.AjaxRCRefreshText = 'Auto-refresh'; window.AjaxRCRefreshHoverText = 'Automatically refresh the page'; /* Discord */ // Disney Wiki Discord window.DiscordIntegratorConfig = { siderail: { title: "Discord Server", id: "320924689260216321", theme: "dark" } };