User:01miki10/common.js

function monobookLinks { var ll = getElementsByTagName('a'); for (var i=0; i<ll.length; i++) { //no external and red links if (ll[i].className.indexOf('external') == -1 && ll[i].className.indexOf('new') == -1) { //no links with ? if (ll[i].href.indexOf("?") == -1) { ll[i].href += '?useskin=monobook'; }     }    } }

$(monobookLinks);