User:The Goblin/monobook.js
From Homestar Runner Wiki
(Difference between revisions)
The Goblin (Talk | contribs) (Try that) |
The Goblin (Talk | contribs) (Some new script.) |
||
Line 3: | Line 3: | ||
// include sandbox reset button | // include sandbox reset button | ||
document.write('<script type="text/javascript" src="/index.php?title=User:The_Goblin/sandreset.js&action=raw&ctype=text/javascript&dontcountme=s"></script>'); | document.write('<script type="text/javascript" src="/index.php?title=User:The_Goblin/sandreset.js&action=raw&ctype=text/javascript&dontcountme=s"></script>'); | ||
+ | // include | ||
+ | document.write('<script type="text/javascript" src="http://en.wikipedia.org/wiki/User:AzaToth/morebits.js?action=raw&ctype=text/javascript&dontcountme=s"></script>'); | ||
+ | // include | ||
+ | document.write('<script type="text/javascript" src="http://en.wikipedia.org/wiki/User:AzaToth/twinklefluff.js?action=raw&ctype=text/javascript&dontcountme=s"></script>'); | ||
+ | |||
+ | importScript('User:AzaToth/morebits.js'); | ||
+ | |||
function addValidatorLink() | function addValidatorLink() | ||
Line 14: | Line 21: | ||
} | } | ||
addOnloadHook(addValidatorLink); | addOnloadHook(addValidatorLink); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
Revision as of 17:42, 26 December 2007
// include utility functions document.write('<script type="text/javascript" src="/index.php?title=User:Phlip/utilities.js&action=raw&ctype=text/javascript&dontcountme=s"></script>'); // include sandbox reset button document.write('<script type="text/javascript" src="/index.php?title=User:The_Goblin/sandreset.js&action=raw&ctype=text/javascript&dontcountme=s"></script>'); // include document.write('<script type="text/javascript" src="http://en.wikipedia.org/wiki/User:AzaToth/morebits.js?action=raw&ctype=text/javascript&dontcountme=s"></script>'); // include document.write('<script type="text/javascript" src="http://en.wikipedia.org/wiki/User:AzaToth/twinklefluff.js?action=raw&ctype=text/javascript&dontcountme=s"></script>'); importScript('User:AzaToth/morebits.js'); function addValidatorLink() { utilities.addMonobookTab("http://validator.w3.org/check?uri=" + escape(utilities.getArticleURL()), "Validate", true) utilities.addMonobookTab("http://www.hrwiki.org/index.php?title=" + utilities.getArticleFullTitle() + "&action=edit§ion=0", "0", true) utilities.addMonobookTab("http://www.hrwiki.org/index.php?title=" + utilities.getArticleFullTitle() + "&action=purge", "purge", true) utilities.addMonobookNavboxLink(utilities.localurl("Category:HRWiki Maintenance"), "HRW Maintenance") utilities.addMonobookNavboxLink(utilities.localurl("User:Techgeekmbg/monobook.js"), "Javascript", "tb") utilities.addMonobookNavboxLink("http://www.hrwiki.org" + utilities.localurl(utilities.getArticleTitle(), utilities.getArticleNamespace()) + "?action=edit§ion=new&preload=User:The_Goblin/welcome&editintro=User:The_Goblin/editintro&create=Welcome", "Welcome User", "tb") } addOnloadHook(addValidatorLink);