阅读:11230回复:22
Google Real Link 1.1脚本:Google搜索使用实际链接不重定向
当你点击Google搜索结果链接时,他们的“rwt”函数会将链接改变为类似“http://www.google.com/url?sa=t&..&url=http%3A%2F%2Fwww.123.com%2F..&..”的形式,用这个新链接重定向到实际链接的页面,以用于追踪和统计。
这个小脚本可以禁用这种链接的改写,显示和使用原来的真实直接的链接,以便不被追踪统计,并避免打开可能暂时被重置的重定向链接。 适用于任何语言版本Google的普通搜索与视频搜索。兼容于Firefox等浏览器的Greasemonkey、Scriptish等扩展插件、原生的Google Chrome和Opera等浏览器、IE的IE7Pro或其他支持用户脚本的插件,等等。 用户脚本的主页/中英文介绍: http://userscripts.org/scripts/show/125473 点击直接安装/下载用户脚本: https://userscripts.org/scripts/source/125473.user.js ps. 完全重定义了Google的“rwt”函数。任何普通与视频搜索,包括AJAX载入的都能用。一般将来也不会失效,这个“rwt”Google自05年开始使用至今。 |
|
1楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
支持,用了不少脚本,都无法彻底解决左键点击先跳到google链接的问题。 |
|
|
2楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
比Google Search link fix好用? |
|
3楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
回楼上,google search link fix 似乎无法解决左键点击链接仍会先跳到google.com/url的问题,我已经卸载了这个扩展,并安装了这个脚本。 |
|
|
4楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
我在用这个脚本,用着也挺不错的// ==UserScript== // @name Less Google // @namespace kol.interface.unfinished // @description Removes google indirections from google search results // @include http://*google.com/* // @include https://encrypted.google.com/* // @exclude http://*google.com/imghp* // @exclude http://*google.com/images* // @exclude http://*google.com/maps* // @exclude http://*google.com/bkshp* // @include http://*google.ca/* // @exclude http://*google.ca/imghp* // @exclude http://*google.ca/images* // @exclude http://*google.ca/maps* // @exclude http://*google.ca/bkshp* // @version 1.1 // ==/UserScript== //Version 1.1 // - change include to only apply to search results // (maps and images are too slow) //Version 1.0 document.addEventListener('DOMSubtreeModified',doPage,false); function doPage() { var ts = document.evaluate('//a[@class="l"]',document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null); for (var i=0;i<ts.snapshotLength;i++) { var t = ts.snapshotItem(i); var href = t.getAttribute('href'); if (href) { var m = href.match(/&url=([^&]*)/); if (m) { t.setAttribute('href',decodeURIComponent(m[1])); break; } } } var m=document.getElementsByTagName("BODY"); if (m[0].innerHTML.indexOf('return rwt')>=0) m[0].innerHTML=m[0].innerHTML.replace(/return rwt/g, "return"); } doPage(); |
|
5楼#
发布于:2012-02-11 12:10
|
|
|
6楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
搜索实际结果,鼠标移上去显示的都是实际链接,只是左键点击会触发google 的onclick()事件,先跳到google.com/url,我认为这是google 搜集用户实际点击的链接的数据。顺便说一下,中键点击不会先跳到google.com/url,且在新标签页打开。 |
|
|
7楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
我目前用的是 google links 1.0 这个我记得是去年才上去的一个脚本,在我的测试下指示支持网页搜索下去除。图片功能没有。 |
|
8楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
直接关闭搜索历史记录不行吗 |
|
|
9楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
直接关闭搜索记录也无法阻止google 通过点击链接收集用户数据啊。对隐私比较敏感可以用 google disconnect 扩展。 |
|
|
10楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
本文还发在这里的:http://g.mozest.com/thread-40098-1-1 @5 楼 mawith: 那个有点小问题,比如你Google搜索“return rwt”就有问题了,这里有讨论: https://g.mozest.com/viewthread.php?tid ... #pid279328 @6 楼 MalcKear 更新的话去掉https://encrypted.google.com的include @7 楼 fang5566 你说的是不用脚本的时候?鼠标左中右键点上去,都会重写为google的重定向的、用于追踪统计的链接,不是仅仅左键 |
|
11楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
不用脚本的时候,可以用中键点击搜索结果,不会先转到google.com/url,左键是会的,我观察过了。 |
|
|
12楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
@12 楼 fang5566这是mousedown事件,左中右键都有效的。你用Live HTTP Headers也能看到经由google的链接过来的。开了新窗口后,回到原来的页面也能看到刚才点击的链接URL变了。 @6 楼 MalcKear 刚才试过了,https://www.google.com和https://encrypted.google.com也会在链接被点击时重写为重定向链接 ----- ps. todo list: http://g.mozest.com/viewthread.php?tid= ... #pid279422 过段时间更新 |
|
13楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
tomchen1989:@12 楼 fang5566 仔细看了下还真是 可能是https://encrypted.google.com反应比https://www.google.com快,重定向的一闪而过~ |
|
|
14楼#
发布于:2012-02-11 12:10
Re: Google Real Link:Google搜索使用实际链接不重定向
嗯,我这里可能也是一闪而过没注意到,感谢这个脚本。 |
|
|
上一页
下一页