User:Why Not A Duck/vector.js

var ws; // install User:Cacycle/wikEdDiff enhanced diff view using ajax ws = ""+String.fromCharCode(60)+"/script>"; document.write(ws); // now for my stuff function addMyToolbarLink(label,id,dest) { var tbt = mw.util.addPortletLink("p-tb",       dest, label, id, dest, null, null); tbt.className += " tb_duck"; } addOnloadHook( function  {    if (0)    mw.util.addPortletLink("p-personal", // what it goes in (where the links to userpage, etc are) "javascript:toggle_linx_menu", // the URL it points to                  "linx", // its label "ca-linx", // its ID                  "This is a test", // its tooltip null, // its keyboard shortcut document.getElementById("pt-logout") // what it comes before );  addMyToolbarLink("AIV", "tb-aiv", "https://en.wikipedia.org/wiki/WP:AIV");   addMyToolbarLink("new user contribs", "tb-nuc", "https://en.wikipedia.org/w/index.php?"+ "limit=50&title=Special%3AContributions&contribs=newbie&target=RekonDog&namespace=&year=&month=-1");  addMyToolbarLink("ClueBot", "tb-cluebot", "https://en.wikipedia.org/w/index.php?title=Special:Contributions&limit=12&target=ClueBot");   addMyToolbarLink("ClueBot NG", "tb-cluebotng", "https://en.wikipedia.org/w/index.php?title=Special:Contributions&limit=12&target=ClueBot%20NG"); //   addMyToolbarLink("DASHBotAV", "tb-dashbotav", "https://en.wikipedia.org/w/index.php?title=Special:Contributions&limit=12&target=DASHBotAV");   addMyToolbarLink("open tasks", "tb-opentask", "https://en.wikipedia.org/wiki/Wikipedia:Community_Portal/Opentask"); }); function toggle_linx_menu { var menue = document.getElementById("jtd-menu-linx"); if (menue.style.display == "block") { menue.style.display = "none"; } else { menue.style.display = "block"; } }; ws = " \n"; ws += "li.tb_duck {\n" ws += " background-color: #f0f8d8;\n"; ws += " font-family: serif;\n"; ws += "}\n"; ws += " \n"; document.write(ws);