Firefox

From Hackepedia
Jump to navigationJump to search

Ad blocking

Sick of seeing advertisements on webpages? It's very easy to combat this with the adblock plugin. If you attempt to download/install it and it fails, with a beige bar appearing across the top of your browser, and a tab on the far right of that bar that reads "Edit options", choose "Allow" and then "Okay" and then you should be able to install it okay.

If you don't want to wait while you build your own adblock rules, do a search for "adblock rules" online and download that list to your desktop. Once you've restarted firefox, hit SHIFT+CTRL+P (or go to Tools -> Adblock -> Preferences) and select "Adblock options" where you will see an option to "import filters". Use this on the adblock.txt you found from your "adblock rules" search and you should be set now. Go to your favourite ad loving website and see if you can see any banners.

Anytime you see a banner on a website now, you can simply right click on the banner and choose to adblock the image. You can also use wildcards in adblock rules which is very handy as you may have noticed in your adblock rules.

*adserver* 

is one of my rules for example, which blocks any file with the word adserver in the URL.

Remove lockfile

If you're forced to kill firefox, or it crashes, it will often leave a "hidden" lock file around. You will know this has happened when you open firefox and a window opens up asking if you want to to use "Default profile" or not.

find ~/.moz* -depth -name lock

This should find the lock file for you. If it has, then you can add | xargs rm to the end to remove it.

find ~/.moz* -depth -name lock | xargs rm

and now you can open firefox as per normal now.