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.
XML Http Request fails in bookmarklet
XML Http Request fails in bookmarklet
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0
Re: XML Http Request fails in bookmarklet
Have encountered this same problem recently, but didn't realise it was only happening in recent NoScript versions.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: XML Http Request fails in bookmarklet
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?
You can PM or mail me the bookmarklet example?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
Re: XML Http Request fails in bookmarklet
I have PM'd you.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0