User:TheGrimme/Script:HideRefDeskHeader

From Wikipedia, the free encyclopedia

Widget to Hide Reference Desk Header Box[edit]

This widget will hide the info box at the top of Reference Desk pages, if you don't like to scroll down to see the table of contents. List of users

Installation[edit]

To install, you need to create (or edit) the javascript file that is associated with your current theme. This is your current skin JS file. Alternatively, you can View your preferences to determine which theme you are using. A link to your javascript file to edit will appear next to your selected theme.

Edit that page and paste in this line:

{{subst:User:TheGrimme/HideRefDeskHeader}}

That line is a template which will expand to:

// [[User:TheGrimme/HideRefDeskHeader.js]]
// [[User:TheGrimme]]
document.write('<script type="text/javascript" src="'
             + 'http://en.wikipedia.org/w/index.php?title=User:TheGrimme/HideRefDeskHeader.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

If it doesn't, copy the code manually. Clear your browser's cache. Take a look at the script if you would like to inspect it.

To uninstall the script, just delete those lines from your javascript file and clear your browser's cache.