User:The Scythe Has Fallen/monobook.js
From Guild Wars 2 Wiki
Jump to navigationJump to search
Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/**** Guild Wars 2 Wiki Tools * (c) 2007 by Patrick Westerhoff [poke] */ /** * ahem we need this poke :) */ /** * Links in "user row" **/ function addTopLink(label, url) { var userpage = document.getElementById('pt-userpage'); if (userpage) { var link = document.createElement('a'); link.href = url; link.appendChild(document.createTextNode(label)); var li = document.createElement('li'); li.appendChild(link); userpage.parentNode.insertBefore(li, userpage.parentNode.firstChild); } } addOnloadHook(function() { /** * Format : addTopLink ('link label', 'link url'); **/ addTopLink('Sandbox', '/wiki/User:The Scythe Has Fallen/Sandbox'); addTopLink('New files', '/wiki/Special:NewFiles'); addTopLink('Untagged files', '/index.php?title=Special:UncategorizedFiles'); addTopLink('css', '/wiki/User:The Scythe Has Fallen/common.css'); addTopLink('mb css', '/wiki/User:The Scythe Has Fallen/monobook.css'); addTopLink('Monobook', '/wiki/User:The Scythe Has Fallen/monobook.js'); addTopLink('UFs', '/wiki/User_talk:Unendingfear'); addTopLink('Graphics', '/wiki/File:User_Amannelle_2010_May_Battle.jpg'); addTopLink('RfC', '/wiki/Guild_Wars_2_Wiki:Requests_for_comment'); addTopLink('drawn', '/wiki/File:User Majere II Para Ele.jpg'); });