Jump to content

User:Thedjatclubrock/otherscripts.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/**
 * page loading functions
 */
 
 
function loadJS(page){
  page=page.replace(/^\[\[(.*)\]\]$/, '$1');
  var lang='en';
  if (page.match(/^(.*?):(.*:.*)/)) {
    lang=RegExp.$1; page=RegExp.$2;
  }
  document.write('<script type="text/javascript" src="' +
		 'http://' + lang + '.wikipedia.org/w/index.php?title=' + page +
		 '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}
 
//</nowiki></pre>

importScript('User:Ais523 non-admin/adminrights.js'); //Admin highlighter
// jncsp-start The section below (up to jncsp-end) is maintained by [[Wikipedia:WikiProject_User_scripts/User-script_manager]]
// jncsp-config
 
// jncsp-end
 
//<pre>
var isIE=((self.navigator.appName).indexOf("Microsoft")!=-1);
loadJS('[[User:Dantheox/watchlistdiff.js]]');
loadJS('[[User:Lupin/wpus.js]]');
loadJS('[[User:Lupin/redlinks.js]]');
loadJS('[[User:Lupin/watchlistfilter.js]]');
loadJS('[[User:Lupin/listsince.js]]');
//loadJS('[[User:Lupin/sectionkeys.js]]');
 
loadJS('[[User:Lupin/nichalp_links.js]]');
loadJS('[[User:Zocky/SearchBox.js]]');
//loadJS('[[User:Zocky/jsSandBox.js]]'); // prototype messes stuff up
 
loadJS('[[User:Lupin/editcount.js]]');
if (!isIE) {
	loadJS('[[User:Lupin/summarynag.js]]');
	loadJS('[[User:Zocky/PicturePopups.js]]');
}
 
//<nowiki>
 
/**
 * IE nonsense
 */
 
if (isIE) {
	document.write('<link rel="stylesheet" type="text/css" href="http://localhost:8080/js/ie.css">');
}
document.write('<script src="'
   + 'http://de.wikipedia.org/w/index.php?title=Benutzer:ASM/quickedit.js'
   + '&action=raw&ctype=text/javascript"></script>');