[issues?] Suddenly all google search result contain prefix

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

Re: [issues?] Suddenly all google search result contain pref

Post by Guest »

Hallo, slack here again!

First of all, the surrogate works very well now (2.3.2), but in its current form it matches only the "http" "URI scheme" variants.
It happens that my search results contain links to "ftp" URIs which are not replaced.

I suggest to just remove any URI restriction by changing the pattern of "a.href.replace()":
/.*\/url.*[?&](?:url|q)=(http[^&]+).*/ --> /.*\/url.*[?&](?:url|q)=([^&]+).*/

TIA Slack

FYI, here is the list of all registered URI schemes:
<http://www.iana.org/assignments/uri-schemes.html>
Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.19) Gecko/20110430 SeaMonkey/2.0.14
sigmax2

Re: [issues?] Suddenly all google search result contain pref

Post by sigmax2 »

Hi Giorgio,

I've just noticed that the surrogate script for Google search results is broken again. Every link has the Google redirect again.
Noscript 2.4.6

eg Google search results for NoScript give the following link.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [issues?] Suddenly all google search result contain pref

Post by Giorgio Maone »

It seems to be still working for me.
Are you sure it's not just what you can see by hovering it the first time?
Could you check in the Web Console (ctrl+shift+K) how does the actual URL which gets opened look like?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0
sigmax2

Re: [issues?] Suddenly all google search result contain pref

Post by sigmax2 »

Same machine, different location but same ISP...... same problem.

Search on "NoScript" all result links get a 302 redirect via Google like this. This is the actual url of the pages it takes me to.

http://www.google.co.uk/url?q=http://no ... W55mL4_69Q

http://www.google.co.uk/url?q=http://no ... bDkXLj1rKA

http://www.google.co.uk/url?q=https://a ... oxxwuusEiQ

Web Console (ctrl+shift+K) <-- Sorry, I don't quite follow this bit.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28
FRANK712

Re: [issues?] Suddenly all google search result contain pref

Post by FRANK712 »

Seems a Firefox/3.6.28 regression / problem.
Mozilla/9.0 Gecko/20110920 Firefox/1.9.9.9
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [issues?] Suddenly all google search result contain pref

Post by therube »

I don't see where Google is prefacing anything to the URLs, regardless of NoScript or not, when running FF 3.6.28.
Wrong, see below.
Web Console (ctrl+shift+K) <-- Sorry, I don't quite follow this bit.
That is not available on FF 3.6.28.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120617 Firefox/15.0a2 SeaMonkey/2.12a2
sigmax2

Re: [issues?] Suddenly all google search result contain pref

Post by sigmax2 »

I've had issues with it before when it seem to work fine for others. I don't allow Google to run ANY scripts normally except when I absolutely have to. Every search result producing a 302 re-direct every time. It's not possible to not notice when it happens.

Is there any other useful information I can provide for diagnostics?


Thanks.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [issues?] Suddenly all google search result contain pref

Post by therube »

So what, this (http://www.google.com/url?q=) only happens if google.com is not Allowed, so is only affecting NoScript users (generally)?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120617 Firefox/15.0a2 SeaMonkey/2.12a2
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [issues?] Suddenly all google search result contain pref

Post by therube »

Seems a Firefox/3.6.28 regression / problem.
Confirmed.

Worked, noscript-2.4.4rc2.xpi.
And by the time we reached noscript-2.4.5rc7.xpi it was broken.

(This is with FF 3.6.28.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120617 Firefox/15.0a2 SeaMonkey/2.12a2
sigmax2

Re: [issues?] Suddenly all google search result contain pref

Post by sigmax2 »

Any change of a link back to the older rc that you confirmed works aboveE? I have a reason to keep one machine on FF3.

Thanks,

sigmax2
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [issues?] Suddenly all google search result contain pref

Post by therube »

(I didn't have all of them, so only checked with what I had.)

http://noscript.net/feed?t=a
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120625 Firefox/15.0a2 SeaMonkey/2.12a2
sigmax2

Re: [issues?] Suddenly all google search result contain pref

Post by sigmax2 »

Many thanks for all your time spent helping.
S
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28
Post Reply