Have you ever gotten this error when using jQuery to handle DOM events?
Can't load XRegExp twice in the same frame
In many cases, Iβve found that to be caused by code like this:
$(βa.fooβ).click( function() { alert(βYou clicked on me!β);});
when a.foo * doesnβt exist in the DOM yet*.
The fix? Use jQuery.live() to bind to the event.
$(βa.fooβ).live( βclickβ, function() { alert(βYou clicked on me!β);});
I've also run into a couple of situations where Chrome Extensions for formatting JSON & XML also caused this error in some cases. Disabling those extensions also fixed the error.
Thanks to this Stackoverflow answer for the suggestion.