Hide the firefox titlebar when maximized.
Note: Newer versions of Firefox have the option to use client side decorations, which lets Firefox draw tabs in the "titlebar". You might find that more useful than this script.
* Visit `about:config` in the address bar
* Set `browser.tabs.drawInTitlebar` to `true`
* Restart firefox