There is no easy way around this, though temporarily disabling JS might help in some cases.
I'm okay with disabling JS, but that didn't appear to work for me. Am I right in assuming that to do this I do a QI on the browser and get the nsIWebBrowserSetup interface and then do
SetProperty(nsIWebBrowserSetup::SETUP_ALLOW_JAVASCRIPT,PR_FALSE);
When I do that it doesn't "appear" to disable JS. But maybe I'm missing something. Do I need to specify it in some other way?
Since I'm basically replacing some HTTP code to do this (and not displaying the results) it's easy enough for me to disable JS. That was actually my first thought on how to solve the issue.
Erik
