User blog:LokiIsAwesome/JavaScript of the week: See more of your content!

Welcome to the first edition of JavaScript of the week, where I will be sharing some awesome JavaScript features with you. This week is a personal JavaScript feature, meaning you must manually enable it to use it for yourself (so all other users of the Wiki won't see it). It's so easy, though, which is why this post is so snappy! Have you ever craved the ability to hide that oh-so-consistent side bar (or as Wikia calls it 'rail') so the whole page you're viewing fills the screen? Well now you can make use of that precious space and hide that pesky bar, with the "HideRail" add-on.

Step 1. Go to your personal JavaScript page.

http://merlin.wikia.com/wiki/User:enter your username here/wikia.js

Step 2. Edit the page and copy and paste this in, then hit "Publish":

importScriptPage( 'HideRail/code.js' , 'dev' ) ;

Step 3. Clear your cache simply by clicking the time and date at the top right of the page, or pressing CTRL + R if you're using Google Chrome. (Command+R on a Mac)

Step 4. Done! Now in the bottom toolbar of the page you should see an 'Expand Content' link. Click it, and on most pages (editing menu is one of those excluded with this feature) the content you're viewing will now fill up the space where the sidebar was. You can easily restore the right area and make the page compact again by clicking 'Shrink Content'. It's dead simple!

DEAD SIMPLE!