User:Ian/monobook.js: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
(Try.)
Line 9: Line 9:
}
}
}
}
//<script type="text/javascript" src="http://en.wikipedia.org/skins-1.5/common/wikibits.js?73"></script>
 
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>');
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>');

Revision as of 01:36, 12 June 2007

function siteArticlePath(){ return '/index.php'; }
function siteBotInterfacePath(){ return '/'; }

function hookEvent(hookName, hookFunct) {
	if (window.addEventListener) {
		window.addEventListener(hookName, hookFunct, false);
	} else if (window.attachEvent) {
		window.attachEvent("on" + hookName, hookFunct);
	}
}

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>');