FirefoxTips

ShscWiki :: LogIn :: PageIndex :: RecentChanges
 Table of content 


Something Awful specific tips


The fonts look odd / squashed together.


For some reason or the other, the CSS file of the forums contains rules that tell compliant browsers to squash the type together ever so slightly. Those bothered by it can either install biznatchio's excellent New Post Highlight Firefox extension or install the URIid extension. Both will allow you to create SA-specific rules to counter the odd fonts.

Users of the New Post Highlight Firefox extension should add this to their userContent.css file:

/* Unsquishes the SA forum fonts */
body.somethingawfulforum * {
letter-spacing: 0 !important;
}

Users of URIid should add this to their userContent.css file:

/* Unsquishes the SA forum fonts (untested) */
#forums-somethingawful-com {
letter-spacing: 0 !important;
}

General tips


Is it possible to remove entries in the right-click context menus?


It's actually quite easy to remove specific entries. There's an extension MenuEditor that does it for you! But if you want to do it manually, let's walk you through an example to show how it's done. Open your userChrome.css file and add this:

/* Removes some annoying entries from the various right-click menus */
#context-setWallpaper, #context-bookmarklink, #context-searchselect {
display: none;
}

Here are the rest of the available selectors. Remember to make sure that all commas are there like in the above example!

#context-back, #context-blockimage, #context-bookmarklink, #context-bookmarkpage, #context-copy, #context-copyemail, #context-copyimg, #context-copyimg-contents,
#context-copylink,
#context-cut,
#context-delete,
#context-forward,
#context-metadata,
#context-openlink,
#context-openlinkintab,
#context-paste,
#context-reload,
#context-saveimage,
#context-savelink,
#context-savepage,
#context-searchselect,
#context-selectall,
#context-sendimage,
#context-sendlink,
#context-sendpage,
#context-sep-open,
#context-sep-stop,
#context-setWallpaper,
#context-stop,
#context-undo,
#context-viewbgimage,
#context-viewimage,
#context-viewinfo,
#context-viewpartialsource-mathml,
#context-viewpartialsource-selection,
#context-viewsource,
#openintabs-menuseparator,
#openintabs-menuitem {display: none !important;}

How do I do cookie opt-in / cookie whitelisting?


Instead of allowing all cookies except those listed in, say, your HOSTS file (this is called blacklisting), it's usually much more prudent to block all cookies except those specifically mentioned on a list (this is whitelisting).

To only allow specific sites to read and set cookies, you actually have to disable the cookies in Firefox (counter-intuitive as that may seem). Go to Tools | Options. Select the Privacy icon and go to the Cookies section. Uncheck the 'Enable cookies' option.

You can begin filling your whitelist right away by clicking on the button called 'Exceptions'. Simply enter a site url (eg. forums.somethingawful.com) in the text field and press the 'Allow' and that site will be allowed to use cookies. The procedure of adding sites to your whitelist can get tedious though. Luckily the Permit Cookies extension solves this problem and provides you with easy access to the list. Just press Alt-C and the site in question can be allowed to set cookies.

How do I make the image element properties window larger?


Right-clicking an image to read its properties, you might find that the window isn't wide enough resulting in the url getting cut off. This is easily remedied by adding the following to your userChrome.css file:

/* Widens the Link and Image Properties windows to show large urls untrancated */
#metadata {
min-width: 640px !important;
}

This article is ©2008 by the respective authors. Reproduction is prohibited without express permission from all contributors.