Участник:Butko/monobook.js
Материал из Википедии — свободной энциклопедии
Замечание: Чтобы после сохранения увидеть сделанные изменения, очистите кеш своего браузера: Mozilla / Firefox: Ctrl+Shift+R, IE: Ctrl+F5, Safari: Cmd+Shift+R, Konqueror: F5, Opera: через меню Tools→Preferences.
/* отследить ТЖА */ function track_anonymous() { for (var i = 0; i < document.links.length; i ++) { if(document.links[i].innerHTML.match(/^65\.54\./)) document.links[i].innerHTML = "ТЖА"; } } addLoadEvent(track_anonymous); /* --------------------------------------------------------------- */ // Script from [[Участник:Edward Chernenko/lupin-antivandal-script.js]] document.write('<script type="text/javascript" src="' + 'http://ru.wikipedia.org/w/index.php?title=Участник:Edward Chernenko/lupin-antivandal-script.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); /* --------------------------------------------------------------- */ document.write('<script type="text/javascript" src="' + 'http://ru.wikipedia.org/w/index.php?title=MediaWiki:ExtSearchPanel.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); document.write('<script type="text/javascript" src="' + 'http://ru.wikipedia.org/w/index.php?title=MediaWiki:ExtSearch.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); /* --------------------------------------------------------------- */ function addLoadEvent(func) { if (window.addEventListener) window.addEventListener("load", func, false); else if (window.attachEvent) window.attachEvent("onload", func); } function addsymbols () { var cwarn = document.getElementById ('editpage-copywarn2'); if (cwarn) { cwarn.innerHTML = ''; } var specialchars = document.getElementById ('editpage-specialchars'); if (specialchars) { var menu = " <a href=\"javascript:insertTags('{{ЭСБЕ}}','','')\">{{ЭСБЕ}}</a>"; specialchars.innerHTML = menu + specialchars.innerHTML; var menu = " <a href=\"javascript:insertTags('{{norse-myth-stub}}','','')\">{{norse-myth-stub}}</a>"; specialchars.innerHTML = menu + specialchars.innerHTML; var menu = " <a href=\"javascript:insertTags('{{antic-myth-stub}}','','')\">{{antic-myth-stub}}</a>"; specialchars.innerHTML = menu + specialchars.innerHTML; var menu = " <a href=\"javascript:insertTags('{{slavic-myth-stub}}','','')\">{{slavic-myth-stub}}</a>"; specialchars.innerHTML = menu + specialchars.innerHTML; var menu = " <a href=\"javascript:insertTags('{{egypt-myth-stub}}','','')\">{{egypt-myth-stub}}</a>"; specialchars.innerHTML = menu + specialchars.innerHTML; } } addLoadEvent(addsymbols); //