[RESOLVED] Greasemonkey XMLHttpRequest

Ask for help about NoScript, no registration needed to post
mari

[RESOLVED] Greasemonkey XMLHttpRequest

Post by mari »

Hello everybody.

I have installed a Greasemonkey user script called UnShortenEmAll ( http://userscripts.org/scripts/show/64333 ) and it worked fine for several months.
This script resolves short URLs like bit.ly or tinyurl.com through GM_xmlhttpRequest.
However with recent NoScript versions 1.9.9.77 and 1.9.9.79 resolving short URLs stopped working and NoScript throws an error in the Error Console.
For exmaple:

Code: Select all

Fehler: [Exception... "'NoScript aborted redirection to http://www.rp-online.de/politik/deutschland/Medienwissenschaftler-entlastet-Tauss_aid_860287.html' when calling method: [nsIChannelEventSink::onChannelRedirect]"  nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: "<unknown>"  data: no]
for the link http://bit.ly/adjAWn on http://twitter.com/Tauss

When I revert NoScript back to version 1.9.9.74 everything works fine.
Is there a way to allow Greasemokney’s XMLHttpRequest in NoScript or is there a way to work around this?
Mozilla/5.0 (X11; ; Linux i686; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Greasemonkey XMLHttpRequest

Post by Giorgio Maone »

Thanks for your report. I'm investigating.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Greasemonkey XMLHttpRequest

Post by Giorgio Maone »

Giorgio Maone wrote:Thanks for your report. I'm investigating.
BTW, are you double sure 1.9.9.74 works? the stuff I've found as the cause (which will be fixed in the upcoming 1.9.9.80) has not changed for a while...
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
mari

Re: Greasemonkey XMLHttpRequest

Post by mari »

Giorgio Maone wrote:
Giorgio Maone wrote:Thanks for your report. I'm investigating.
BTW, are you double sure 1.9.9.74 works? the stuff I've found as the cause (which will be fixed in the upcoming 1.9.9.80) has not changed for a while...
Yes, definitely.
I created a new Firefox profile, installed Greasemonkey + user script → short URL resolution worked fine.
Then installed NoScript 1.9.9.79 and short URLs were not resolved any more and lines like

Code: Select all

Fehler: [Exception... "'NoScript aborted redirection to http://www.heise.de/tp/blogs/5/147656' when calling method: [nsIChannelEventSink::onChannelRedirect]"  nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: "<unknown>"  data: no]
started showing up in Error Console.
Then I installed Noscript 1.9.9.74 ( through AMO) and everything worked again.
Mozilla/5.0 (X11; ; Linux i686; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10
mari

Re: Greasemonkey XMLHttpRequest

Post by mari »

This problem has been solved with version 1.9.9.80.
Thank you for all your work, Giorgio!
Mozilla/5.0 (X11; ; Linux i686; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10 Firefox/3.5.9
Post Reply