Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Nasty serach services! I want to copy the real links!

Author
Message
mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 20th Aug 2013 21:57
Hi everypony!
You maybe familiar with this problem - search services, like google, shows on search page the real links until you click on them, then it replaces the real link with redirect crap. This drives me crazy! I have google chrome, maybe there is some plugin? I can't find any.

Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 20th Aug 2013 22:37 Edited at: 20th Aug 2013 22:41
I found this: http://stackoverflow.com/a/14176138/802617

Apparently you can also search Google like this: http://www.google.com/custom It gives you direct links, not "sticky URLs."

Edit: https://chrome.google.com/webstore/detail/dont-track-me-google/gdbofhhdmcladcmmfjolgndfkpobecpg

Web - Tweets
“I'm going to punch DXGI in the face. Repeatedly.” ~Aras Pranckevicius
mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 20th Aug 2013 23:48 Edited at: 21st Aug 2013 00:01
@Aaron Miller
Thanks, I think a userscript may work.

Update: Here is what I have found so far:

I have installed tapemonkey and now testing... ... ...

Update: works with yandex, but not with google. I think that is because of chrome I have, not opera...

mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 21st Aug 2013 13:04
Bump: It would be nice if someone here knows this stuff and will help us to understand how it works, because such indirect links are on many sites like facebook and others.

mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 21st Aug 2013 16:39
This is works, but I don't know how. Anyone?



Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 21st Aug 2013 18:47
Quote: "Normally each link on a Google search page has an onmousedown script that sends a request to their servers telling them what you clicked on. It's an invasion of privacy and it slows down your connection. This kills off the bounce script."



From what I can tell, that script removes the onmousedown attribute. Looking through the source code on a search page, I see this:


But a real link is still present in the href attribute. By removing the mouse event, you get the direct link instead of it being hijacked by google.

mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 21st Aug 2013 20:49
So is that last code is correct? Compiler shows some errors.

Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 21st Aug 2013 22:00
If you view google's page source, it looks like a complete mess to me.

mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 21st Aug 2013 23:41
Well, at least with this script running I have real URLs in history. Earlier there were those nasty track links, so bowser history was unreadable for me.

But I think this script could be improved to be compatible with any site that using this track trick.

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 22nd Aug 2013 01:54
Quote: "If you view google's page source, it looks like a complete mess to me."


Either they hired a genius to write that, or it's obfuscated.

TheComet

Login to post a reply

Server time is: 2025-05-15 02:33:40
Your offset time is: 2025-05-15 02:33:40