Issue with ghostery uri parsing

Ghostery causes firefox to freeze when parsing data uri that are very long. The issue is due to the horrible lookahead regular expression in the parseUri function used by ghostery (which probably isn't doing very much for the load times of other pages). A good alternative would be something like this, which does not use regular expressions: http://james.padolsey.com/javascript/...

For a demo see: (WARNING! This will cause ghostery to freeze your browser for a few seconds)

http://allanwirth.com/junk/crashghost...
1 person has
this problem
+1
Reply