XML Http Request fails in bookmarklet
Posted: Sat Mar 02, 2013 3:01 pm
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.
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.