(even if you aren't vegan)
User:Bluebry/monobook.js
From Wiki User Wiki
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
function addQuickbarLink(href, title, before)
{
var li = document.createElement('li');
var a = document.createElement('a');
a.appendChild(document.createTextNode(title));
a.href = href;
li.appendChild(a);
if (!before)
{
document.getElementById('pt-logout').parentNode.appendChild(li);
}
else
{
before = document.getElementById('pt-'+before);
before.parentNode.insertBefore(li, before);
}
}
function addLinks()
{
addQuickbarLink("http://fanstuff.hrwiki.org/index.php/Main_Page", "Fanstuff", "");
addQuickbarLink("http://z13.invisionfree.com/Fanstuff/index.php?", "Forum", "");
addQuickbarLink("irc://irc.freenode.net/hrwiki", "IRC", "");
addQuickbarLink("irc://irc.freenode.net/hrwiki-fanstuff", "fanstuff IRC", "");
addQuickbarLink("irc://irc.freenode.net/hrwiki-rc", "RC IRC", "");
addQuickbarLink("http://www.hrwiki.org/index.php/HRWiki:Featured_Article_Selection", "Featured Article Selection", "");
}
if (window.addEventListener) window.addEventListener('load', addLinks, false);
else if (window.attachEvent) window.attachEvent('onload', addLinks);