User:Vulpa/monobook.js
The UESPWiki – Your source for The Elder Scrolls since 1995
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.
// <pre><nowiki>
importScript('UESPWiki:Javascript/modifysidebar.js');
function CustomizeModificationsOfSidebar() {
//general
ModifySidebar("remove", "general", "Main Page");
ModifySidebar("remove", "general", "Featured Articles");
ModifySidebar("remove", "general", "How to Contribute");
ModifySidebar("remove", "general", "Mobile Site");
ModifySidebar("remove", "general", "Help Files");
//community
ModifySidebar("clear", "community");
ModifySidebar("add", "community", "Community Portal", "http://www.uesp.net/wiki/UESPWiki:Community_Portal");
ModifySidebar("add", "community", "User_talk Messages", "http://www.uesp.net/wiki/UESPWiki:Messages");
//sections
ModifySidebar("remove", "sections", "All Content");
ModifySidebar("remove", "sections", "Books");
//toolbox
ModifySidebar("remove", "toolbox", "Atom", "http://uesp.net/w/index.php?title=Special:RecentChanges&feed=atom");
ModifySidebar("remove", "toolbox", "RSS", "http://uesp.net/w/index.php?title=Special:RecentChanges&feed=rss");
ModifySidebar("add", "toolbox", "CSList MW", "http://cs.uesp.net/index.php?game=mw");
ModifySidebar("add", "toolbox", "CSList OB", "http://cs.uesp.net/index.php?game=ob");
ModifySidebar("add", "toolbox", "CSList SR", "http://cs.uesp.net/index.php?game=sr");
}
addOnloadHook(CustomizeModificationsOfSidebar);
// </nowiki></pre>
importScript('User:Jak_Atackka/namegenerator.js');
jQuery.noConflict().(document).ready(function() { jQuery.noConflict().(".toc").addClass("collapsed"); });