Page 1 of 1

"noscript.surrogate.glinks.replacement" doesn't work anymore

Posted: Sat Jul 30, 2016 2:45 am
by DerpMcDerp
Google seems to have changed their format. The old style URL:
google.com/search?q=asdf

Now redirects you to the new style URL:
google.com/#q=asdf

"noscript.surrogate.glinks.sources" (i.e. "!@^https?://[^/]+google\..*/search") only matches the old format which results in the glinks replacement never being hit. I think a better regex would be something like:

Code: Select all

!@^https?://[^/]+google\..*\bq=
Also, "noscript.surrogate.glinks.replacement" seems way too complex to me. My old userscript which thwarted google tracking was simply:

Code: Select all

Object.defineProperty(window,'rwt',{value:function(){return true},writable:false,configurable:false});
Though I've only tested it on the google.com search results page. I have no idea how google does external URL tracking across their vast pages.

noscript.surrogate.glinks

Posted: Sat Jul 30, 2016 6:54 am
by Mc
noscript.surrogate.glinks works here inconsistently now. Some search results give direct links, some not.
here [threads merged by moderator] is posted it wouldn't work at all

Re: noscript.surrogate.glinks

Posted: Sat Jul 30, 2016 7:10 am
by Mc
Seems direct links appear some times on a second hover

Re: noscript.surrogate.glinks

Posted: Sat Jul 30, 2016 6:18 pm
by barbaz
Merged the two topics because the root cause is surely the same.

I can confirm the inconsistent behavior. I can also confirm that there are now two styles of google search URL in google.com searching, but which one I get depends on how I do the search. Not seeing any redirections.