User:Ian/monobook.js: Difference between revisions
< User:Ian
No edit summary |
(Drop extra /) |
||
Line 1: | Line 1: | ||
function siteArticlePath(){ return ' | function siteArticlePath(){ return 'index.php'; } | ||
function siteBotInterfacePath(){ return ' | function siteBotInterfacePath(){ return ''; } | ||
function hookEvent(hookName, hookFunct) { | function hookEvent(hookName, hookFunct) { |
Revision as of 02:07, 12 June 2007
function siteArticlePath(){ return 'index.php'; } function siteBotInterfacePath(){ return ''; } function hookEvent(hookName, hookFunct) { document.onload = hookFunct; if (window.addEventListener) { window.addEventListener(hookName, hookFunct, false); } else if (window.attachEvent) { window.attachEvent("on" + hookName, hookFunct); } } popupsUseQueryInterface = false; document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');