User:The Goblin/monobook.js

From Homestar Runner Wiki

< User:The Goblin
Revision as of 02:56, 25 November 2007 by The Goblin (Talk | contribs)
Jump to: navigation, search

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

  • Mozilla / Firefox: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac)
  • Safari: press Cmd-Option-E
  • IE: hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Konqueror: simply click the Reload button, or press F5
  • Opera users may need to completely clear their cache in Tools→Preferences.
 // include utility functions
 document.write('<script type="text/javascript" src="/index.php?title=User:Phlip/utilities.js&amp;action=raw&amp;ctype=text/javascript&amp;dontcountme=s"></script>');

 function addValidatorLink()
 {
   utilities.addMonobookTab("http://validator.w3.org/check?uri=" + escape(utilities.getArticleURL()), "Validate", true)
   utilities.addMonobookTab("escape(utilities.getArticleURL()) + "&action=edit&section=0", "0", true)
 }
 addOnloadHook(addValidatorLink);
Personal tools