User:Fetofs/monobook.js

From Wikipedia, the free encyclopedia

Note: After saving, you have to bypass your browser's cache to see the changes. Mozilla/Safari: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Internet Explorer: press Ctrl-F5, Opera/Konqueror: press F5.

function winc(s) {  	 
 s = s.replace(/^\[\[/, '').replace(/\]\]$/, ''); 	 
 document.write('<script type="text/javascript" src="' 	 
 + 'http://en.wikipedia.org/w/index.php?title=' + s 	 
 + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); 	 
}

// [[User:Lupin/popupsdev.js]] - please include this line  	 
		 
document.write('<script type="text/javascript" src="' 	 
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popupsdev.js' 	 
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); 	 
 		 
popupShortcutKeys=true; // optional: enable keyboard shortcuts 	 
popupStructure='menus'; 	 
popupFixRedits = true; 	 
popupFixDabs = true;

// Script from [[User:Haza-w/cactions.js]]  	 
 document.write('<script type="text/javascript" src="' 	 
 + 'http://en.wikipedia.org/w/index.php?title=User:Haza-w/cactions.js' 	 
 + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

var ctJsCount = 1;

winc('[[User:Interiot/Tool2/code.js]]');