Jump to content

User:Deryck Chan/monobook.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// [[User:Lupin/popups.js]]

popupDelay = 0.8;
popupFixRedirs = true;
popupFixDabs = true;
popupOnlyArticleLinks = false;
popupFixRedirsSummary = 'Bypass redirect from [[%s]] to [[%s]] using [[Wikipedia:Tools/Navigation_popups|popups]]';
popupFixDabsSummary = 'Disambiguate [[%s]] to [[%s]] using [[Wikipedia:Tools/Navigation_popups|popups]]';
popupRedirAutoClick = 'wpSave';
popupDabAutoClick = 'wpSave';

mw.loader.load(
             'https://wiki.riteme.site/w/index.php?title=User:Lupin/popups.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s');


//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
  mw.loader.load('https://wiki.riteme.site/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }