There is a very useful GreaseMonkey userscript called "Direct Links for Pages and Images" (here).
Unfortunately, the Noscript surrogates break its functionality.
Steps to reproduce:
1. Install Noscript, GreaseMonkey and "Direct Links for Pages and Images" (https://greasyfork.org/en/scripts/19210 ... -and-image)
2. Do a Google image search (for example: https://encrypted.google.com/search?q=cat&tbm=isch)
3. Click on the "Tools" button
4. The page gets redirected to https://encrypted.google.com/null
Disabling the surrogate scripts avoids this problem.
Can this be fixed?
Thank you!
Surrogates break GreaseMonkey userscript.
Surrogates break GreaseMonkey userscript.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Re: Surrogates break GreaseMonkey userscript.
Thanks for letting us know! Try blanking out about:config > noscript.surrogate.glinks.replacement
I think the clash comes from the two scripts both trying to do the same thing.
I think the clash comes from the two scripts both trying to do the same thing.
*Always* check the changelogs BEFORE updating that important software!
-
Re: Surrogates break GreaseMonkey userscript.
Thank you, it works!
What are the consequences of doing it, if any?
What are the consequences of doing it, if any?
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Re: Surrogates break GreaseMonkey userscript.
As long as you have that Greasemonkey script enabled, you probably won't notice any consequence. But if you turn off the Greasemonkey script as well, Google search links will start redirecting again.
*Always* check the changelogs BEFORE updating that important software!
-
Re: Surrogates break GreaseMonkey userscript.
It turns out that for some reason some of my surrogates were different from the default ones. I am pretty sure that I did not change them myself (I am not a JS coder).
Is there a way to reset them (but not the other settings) to the default scripts?
Is there a way to reset them (but not the other settings) to the default scripts?
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Re: Surrogates break GreaseMonkey userscript.
about:config
right-click the entry > Reset
right-click the entry > Reset
*Always* check the changelogs BEFORE updating that important software!
-