Page 1 of 1

XML Http Request fails in bookmarklet

Posted: Sat Mar 02, 2013 3:01 pm
by porl
If you disallow scripts from a site in Firefox and versions of NoScript from the past few months, an XHR in a bookmarklet executed on that site fails to retrieve other pages from the same domain. Nor will the same script do so in Scratchpad.

The bookmarklet never gets beyond readyState 1, although the request apparently succeeds. In Scratchpad, the script gives error '0x805e0006 (<unknown>)'. (Temporarily) enable scripts for the domain and they work again.

I can give you example code and an exact error message, but nothing the antispam filter will permit me to post, apparently. It won't even let me write XHR in full as one word.

One of the best features of NoScript is that it doesn't normally interfere with bookmarklets and dev tools, so I hope this is fixable.

Cheers.

Re: XML Http Request fails in bookmarklet

Posted: Sun Mar 03, 2013 11:11 pm
by Thrawn
Have encountered this same problem recently, but didn't realise it was only happening in recent NoScript versions.

Re: XML Http Request fails in bookmarklet

Posted: Sat Mar 16, 2013 9:04 pm
by Giorgio Maone
It looks like it's been a Firefox change (especially in its Sandbox code), rather than a NoScript change.
You can PM or mail me the bookmarklet example?

Re: XML Http Request fails in bookmarklet

Posted: Mon Mar 18, 2013 10:30 am
by porl
I have PM'd you.