User:Exlex/global.js

// // ***************************************************************** // Load various external scripts // ***************************************************************** function appendScript(url) { var scriptElem = document.createElement('script'); scriptElem.setAttribute('src',url); scriptElem.setAttribute('type','text/javascript'); document.getElementsByTagName('head')[0].appendChild(scriptElem); }

appendScript('http://ru.wikipedia.org/w/index.php?title=User:Alex_Smotrov/qpreview.js&action=raw&ctype=text/javascript&dontcountme=s');

appendScript('http://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=user:js/diffs.js');

//