Jump to content

User:Goodvac/monobook.js

From Simple English Wikipedia, the free encyclopedia
Revision as of 02:08, 6 March 2012 by Goodvac (talk | changes) (test)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
importScript('User:EhJJ/twinkle.js');
if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS
TwinkleConfig.watchWarnings = false;
TwinkleConfig.watchRevertedPages = [];
TwinkleConfig.watchSpeedyPages = [];

importScript('User:Goodvac/rollback.js');
importScript('User:Grunny/ajaxquickrfdclose.js');

var test = $('#ca-nstab-main').hasClass('new');

if(test) $('#ca-nstab-main').children("a").attr('href', 'http://example.com');