Archive | November, 2010

Youtube not working in Firefox 3.6

8 Nov

For the past couple of days YouTube did not work properly when accessed via Firefox 3.6 (at least on my home PC).

Here’s how the front page looked:

I wasn’t able to access any videos or my account. Also Firebug showed about 10 JavaScript errors. But it worked OK in Google Chrome and Internet Explorer.

So what was the problem?!? It seems that YouTube is not satisfied with the normal cookie anymore and demands the DOM Storage feature to be enabled, which allows more data to be stored on the client side. I also read reports that Gmail has the same problem, but I was unable to reproduce this on my computer.

I managed to get it working by going in about:config and changing the dom.storage.enabled property to true.

The weird part is that YouTube works in Internet Explorer 8 even with DOM Storage disabled.

UPDATE: The new version of Twitter doesn’t work either if DOM Storage is disabled.

Different profiles for Firefox 3.6 and 4 beta on Windows

8 Nov

When installing Mozilla Minefield (Firefox daily builds) on Ubuntu, it automatically creates a new profile and copies your current profile there. But on Windows this thing doesn’t happen.

When installing Firefox 4b6 on Windows 7 the same profile as the regular installation is used. This can cause a lot of problems, specially if you use add-ons. Some of these problems are:

  • Most of the add-ons are disabled. Partial solution is to install the Add-on Compatibility Reporter
  • Sync add-on is disabled because it is build in Firefox now. Recommendation: do not sync your stable release with any beta/daily builds. I did this and after a while I got an error from the stable release that said I should update Sync, but there was no update available. So Sync didn’t work for a while. This happened to me with Minefield b7.
  • The biggest problem is Firebug. The beta release (1.6) that works with Firefox 4 is buggy, becomes unusable sometimes and crashes the browser.

The solution is pretty straight forward. First we must create an additional profile. To do this you must access the Firefox profile manager. Go to your Firefox 3.6 shortcut properties and add “-P” to the Target field. It should look like this:

"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -P

Save and open Firefox with that shortcut. The profile manager windows should appear (image bellow), click on Create Profile and create the “beta” profile.

Firefox Profile Manager

 

To make the shortcut access the profile directly without the profile manager window you have to edit once more the Target of the shortcut like so:

"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -P default

Also edit the Firefox beta shortcut like so:

"C:\Program Files (x86)\Mozilla Firefox 4.0 Beta 6\firefox.exe" -P beta

That’s it. Happy testing.

UPDATE: Another way to solve this is to install the portable version of Firefox beta.

Hello world!

8 Nov

<?php
echo “This is the first post.”
?>
I thought about starting this blog for a while now, just didn’t have the time and/or inspiration to actually do it.
Anyway, this is going to be my place to post news about projects I’m working on, tech rants and other stuff. I just hope it will not be boring.