Wikipedysta:Rozek19/monobook.js
Z Wikipedii
Uwaga: po zapisaniu zmian musisz zaktualizować pamięć podręczną (cache) przeglądarki: Mozilla / Firefox: wciśnij Reload (lub CTRL+R), IE / Opera: CTRL+F5, Safari: CMD+R, Konqueror CTRL+R.
var wp_sk_show_as_button = true; // Dołączenie skryptu ze strony: [[Wikipedysta:Nux/wp_sk.js]] document.write('<script type="text/javascript" src="'+ 'http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/wp_sk.js'+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); var noRedirButton=true; window.noRedirText="Zbędne przekierowanie, zdeLINKowano, zdeINTERWIKIzowano"; function noRedirInsert() { document.getElementById("wpTextbox1").value = "{"+"{ek|"+window.noRedirText+"}}\n"+document.getElementById("wpTextbox1").value; } function noRedirLink() { var src='http://upload.wikimedia.org/wikipedia/commons/5/50/WPDoubleRedirect500x400.png'; var btns=document.createElement('span'); btns.innerHTML= '<a href="javascript:noRedirInsert()">' +'<img style="cursor:pointer;" title="'+window.noRedirText+'" alt="'+window.noRedirText+'" src="'+src+'" border="0" height="22" width="23">' +'</a>'; var el=document.getElementById('toolbar'); if (el) { el.appendChild(btns) } else { el=document.getElementById('editform'); el.parentNode.insertBefore(btns,el); } } if (typeof noRedirButton!='undefined' && noRedirButton) { if(wgAction=='submit' || wgAction=='edit') addOnloadHook(noRedirLink); }