User:Sanbeg/monobook.js

/*** // Script from User:Sanbeg/vfd_NavBar.js document.write(' '); //more recently (9/2007) taken from wikipedia document.write(' '); if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://en.wikisource.org/skins-1.5/common/images/button_link.png", "speedTip": "piped link", "tagOpen": ,    "tagClose": , "sampleText": "Insert link here"}; };

//experiment with popup title. function poplinkTitle { var list=document.getElementsByTagName('div'); for (i=0; i<list.length; ++i) { l=list[i]; if (l.className == 'poplink-title') { //text=l.firstChild.nodeValue; text=l.getElementsByTagName('small')[0].firstChild.nodeValue; l.getElementsByTagName('a')[0].title=text; } } }

$(poplinkTitle);