The Don's Craptastic World A meta-level binary dude embedded to a multimedia proxy world!

22Aug/105

Make your Firefox load faster!

Me dad was complaining that his Firefox takes ages to start up and didn't want to run yet another application in the background.

So I hit google and came up with UPX, Ultimate Packer for eXecutables. What it does, is very simple: It compresses the .exe and all the DLLs associated with said .exe! Thus reducing its total size and load time.

  1. Download UPX and unpack the upx.exe into your Firefox folder, usually it's C:\Program Files\Mozilla Firefox.
  2. Close Firefox, and make sure its not running by checking the task manager
  3. Start the command prompt, the cmd.exe in ADMIN MODE!
  4. go to C:\Program Files\Mozilla Firefox in cmd.exe
  5. enter this command and execute it
    for %v in (*.dll *.exe plugins\*.dll components\*.dll) do upx "C:\Program Files\Mozilla Firefox\%v" -9

Should you, for whatever reason, need to decompress and get the original files back, run this command
for %v in (*.dll *.exe plugins\*.dll components\*.dll) do upx "C:\Program Files\Mozilla Firefox\%v" -d

What does it do?
It compresses all the DLLs and all the *.exe in C:\Program Files\Mozilla Firefox, then it goes to C:\Program Files\Mozilla Firefox\plugins and compresses all the DLLs, lastly it goes to C:\Program Files\Mozilla Firefox\components and compresses the DLLs in there. The -9 is for the best possible compression. The -d is for decompression.

My dad's Firefox folder went from 31 MB down to 20 MB. A 35% save!

The best bit?
UPX is usable on any other application you have. As long as they have *.exe and DLLs, you can use UPX on it.

21Jun/100

Start Up Firefox in Private Browsing mode!

If you're one of the paranoid ones, like me, and are tired to constantly start up your Firefox and change to private browsing, here's an easy solution!

1. enter "about:config" without the " in your URL bar
2. search for "browser.privatebrowsing.autostart"
3. change false to true
4. ???
5. Profit

If browser.privatebrowsing.autostart doesn't exist, then create a new boolean string called just that and set it to true!

Enjoy!

27Nov/092

Force Firefox Add-ons to work with Firefox 3.6 betas!

If you already are using Firefox 3.6 betas then you probably already figured that some of your add-ons are not working...because of their compatibility.

Well, to be honest not every add-on needs a huge code change, some of them simply need their compatibility status updated, most of them work with 3.6 anyway. At least mine do...

I wanted Identi.fox and Echofon running, which I way I turned of the Extension Compatibility Check! Here's how to force your Add-ons to work with 3.6+ betas.

  1. Type "about:config" in your Firefox url bar
  2. Search for "extensions.checkCompatibility.3.6b"
  3. If you have this entry change it from "true" to "false"
  4. If this entry doesn't exist, create it via:
  5. Right click your mouse -> "new" -> "boolean"
  6. Type in "extensions.checkCompatibility.3.6b" for the new entry and set it to false

This is how it looks finally:

extensions.checkCompatibility.3.6b

Enjoy your add-ons, but bear in mind there's a reason that the add-on compatibility check is there!

20Nov/090

Firefox: “I see where you are!”, Me: “No, ya don’t!” [Turning off Geolocation Tracking in Firefox]

Geolocation Tracking/Tagging, ever heard of it? No? Check out the link!

Short version: It's the identification of your geological location. Can be good, can be bad. I don't like being stalked though! Firefox, by standard, has geolocation tracking enabled. If you don't want it, turn it off with a few simple steps:

  1. Type in "about:config" in your url bar
  2. Type in "geo" in the filter bar
  3. Look for "geo.enabled" and turn its value to "false"
  4. For an extra icing on the cake: look for "geo.wifi.uri" and change its content to "WHATEVERYOUDESIRE"

This is how it looks after the change:

Enjoy your stalking-free Firefox!

5Sep/0926

How to fix the video lag in Firefox!

firefoxLately my video (HD) playbacks in YouTube seemed to be lagging a LOT! I wondered why. I thought it would be me and my years old OS or perhaps even somehow my pc.

But no it wasn't. The lag was caused by Firefox's session saving feature. A simple and fast change in it and "poof" went the lag.

  • Open Firefox and type in "about:config" (without the ") in the Address Bar and hit Enter.
  • Type in "session" in the "Filter" line at the top of the list.
  • Find “browser.sessionstore.interval” and double click it. The 10000 milliseconds (equals 10 seconds) is the interval in which Firefox keeps saving your session in case of a crash; same amount of time between video lags.
  • Change it to something different. 120000 equals 2 minutes, 300000 equals 5 minutes or something else you desire. I went with 600000 (10 minutes), because I don’t particularly care about session saving.
30Aug/090

Using Firefox 3.x? Speed it up by vacuuming its SQLite database!

FirefoxRecently I stumbled onto some tips how to speed up ones Firefox. Firefox, since the version 3, uses a SQLite database for various tasks such as storing bookmarks, histories, site specific preferences and backups.

Over time it's get filled up with unnecessary and old info if you want, and there's a simple method to ditch those useless info and speed up your Firefox considerably, or like most of the guides say to "vacuum" it.

Use it once in a while, I've seen an improvement on my Firefox since I used it.

  1. Go to "Tools" -> "Error Console"
  2. Paste this in the "Code" text box:
    Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM");
    
  3. Press enter or click "evaluate"
  4. Your Firefox will freeze for a short time, just wait
  5. Enjoy your speed up Firefox!
1 of 212