30楼#
发布于:2011-10-21 01:23
难搞,真的解决不了这个问题。表面上,搜索结果是正常的网址,在网址上面右键一下,就看到网址变成了http://www.google.com/url?XXXXXXXXXXXXXXXXXXXXXXXXX 类似这样的一大堆乱七八糟的网址。楼上的脚本无效。
|
|
31楼#
发布于:2011-10-21 01:23
旧脚本没问题,只是现在google的搜索页默认启用https,旧的允许网页中不包含,增加一条
// @include https://www.google.com/search?* 就好了。 我用的 " // ==UserScript== // @name Scrub Google Redirect Links // @namespace http://www.zooomr.com/photos/ping/ // @description Removes the Google redirect in search result links. // @include http://www.google.com/search?* // @include https://encrypted.google.com/search?* // @include http://*.google.*/*q=* // @include https://www.google.com/search?* // ==/UserScript== (function() { // add timeout to delay scrubs, Google seems to be using script to load those mousedowns -- sneaky! setTimeout(function() { // kill off the rwt for good so that it will work with Google Instant unsafeWindow.rwt = function() { return true; } // otherwise, wipe mousedowns var redirectLinks = document.evaluate( "//a[@class='l']" , document , null , XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE , null); if (typeof redirectLinks != 'undefined' && redirectLinks.snapshotLength > 0) { for (var i = 0; i < redirectLinks.snapshotLength; i++) { redirectLinks.snapshotItem(i).setAttribute('onmousedown',''); } } }, 500); })() " |
|
32楼#
发布于:2011-10-21 01:23
|
|
33楼#
发布于:2011-10-21 01:23
没看出来跳转有啥不好的。我就一直让他跳转。
|
|
34楼#
发布于:2011-10-21 01:23
我的ABP自定义过滤:
@@|http://www.google.com.hk/imghp?$document @@|http://www.google.com/imghp?$document http://www.google.com.hk/extern_js/f/*.js http://www.google.com/extern_js/f/*.js https://www.google.com/extern_js/f/*.js 然后在 less google脚本里添加了 // @include http://www.google.com.hk/* // @include http://www.google.com/* // @include https://www.google.com/* 这样就不跳转了,但是有时谷歌搜索页面的左侧“搜索工具”中点击“更多”,没反应,已排除ABP,是less google脚本的问题,有办法解决吗? |
|
35楼#
发布于:2011-10-21 01:23
|
|
36楼#
发布于:2011-10-21 01:23
没有默认HTTPS吧,天朝基本默认全部转到HK去了,非得上NCR启用SSL才会用https
|
|
37楼#
发布于:2011-10-21 01:23
|
|
38楼#
发布于:2011-10-21 01:23
有楼上说的这个情况,会导致....链接重置~
entryted没有加跳转.....赞一个~ |
|
|
上一页
下一页