Участник:Ilya Voyager/monobook.js: различия между версиями

Содержимое удалено Содержимое добавлено
Новая: 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...
 
Строка 4:
 
importScript('w:User:Alex Smotrov/qpreview.js');
 
//<pre>
// *****************************************************************
// 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');
//</pre>