Участник:Ilya Voyager/monobook.js: различия между версиями
Содержимое удалено Содержимое добавлено
Нет описания правки |
|||
Строка 2: | Строка 2: | ||
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' |
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' |
||
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); |
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); |
||
importScript('w:User:Alex Smotrov/qpreview.js'); |
|||
//<pre> |
//<pre> |
Версия от 23:10, 2 февраля 2008
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=s"></script>');
//<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>