Jump to content

User:Brossow/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.
//---- Config options for [[Wikipedia:Tools/Navigation_popups]] ----
// Normally features are enabled
var toFix = true;
 
// In special pages, histories and previews disable them
if (mw.config.get('wgCanonicalNamespace') == "Special" || /*
    */ location.href.indexOf('&action=history') != -1 || /*
    */ location.href.indexOf('&action=submit') != -1)
  toFix = false;
 
popupRedlinkRemoval = toFix;
popupFixRedirs = toFix;
popupFixDabs = toFix;
popupRedirAutoClick = wpSave;
popupMaxWidth = 600;
popupThumbAction = linkfull;