User:DuTempete/wowwiki.js
From WoWWiki
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac)
- Internet Explorer: 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 the cache in Tools→Preferences.
document.write('<script type="text/javascript" src=" \
http://www.wowwiki.com/index.php?title=User:Pcj/itemtooltip.js \
&action=raw&ctype=text/javascript&dontcountme=s"></script>');
/*[[Category:User:DuTempete|JS]][[Category:User JS|DuTempete]]*/
importedScripts = {};
function importScript( page ) {
if( importedScripts[page] ) {
return;
}
importedScripts[page] = true;
var url = wgScriptPath
+ '/index.php?title='
+ encodeURIComponent( page.replace( / /g, '_' ) )
+ '&action=raw&ctype=text/javascript';
var scriptElem = document.createElement( 'script' );
scriptElem.setAttribute( 'src' , url );
scriptElem.setAttribute( 'type' , 'text/javascript' );
document.getElementsByTagName( 'head' )[0].appendChild( scriptElem );
}
importScript("User:Kaydeethree/autoedit.js");
importScript("User:Kaydeethree/recent2.js");
