google.com 恢复网页快照功能

针对特定网站的规则分享、讨论

Moderator: phoenix

Post Reply
User avatar
phoenix
Site Admin
Posts: 526
Joined: Dec 29 2007, 16:27

google.com 恢复网页快照功能

Post by phoenix »

最近www.google.cn恢复了网页快照功能,而www.google.com上的cache功能仍然被GFW屏蔽。解决方法很简单,将搜索结果URL中的?q=改为?&q=即可绕过封锁。

规则如下:

Code: Select all

[HTTP headers]
In = FALSE
Out = TRUE
Key = "!-|||||||||||| URL: Google Cache AntiBlock 07.07.09 [phoenix] (out)"
URL = "\0search?q=cache:\1&$RDIR(http://\0search?&q=cache:\1)"
sixsheeps
Posts: 30
Joined: Jan 17 2008, 14:59

Re: google.com 恢复网页快照功能

Post by sixsheeps »

貌似失效了哦。呵呵

我现在在用的是自己的写的web page的过滤规则。

Code: Select all

Name = "[sss] [sig] ★ google cache [50]"
Active = FALSE
URL = "$TYPE(htm)*.google.*"
Limit = 50
Match = "q=cache"
Replace = "by=sixsheeps&q=cache"
大家有需要加进去就好了。自用效果不错。
User avatar
phoenix
Site Admin
Posts: 526
Joined: Dec 29 2007, 16:27

Re: google.com 恢复网页快照功能

Post by phoenix »

sixsheeps wrote:貌似失效了哦。呵呵
说话要负责任。 :lol:

另外,我用header filter,而不是web page filter的方式,也是有理由的。
sixsheeps
Posts: 30
Joined: Jan 17 2008, 14:59

Re: google.com 恢复网页快照功能

Post by sixsheeps »

凤凰大哥,别生气哦。我把你的规则加进去尝试了一下。好像不行。难道是rp问题?呵呵

还有我觉的head规则是不是每一个网页过来都全部匹配一遍?这样效率不高吧……
sixsheeps
Posts: 30
Joined: Jan 17 2008, 14:59

Re: google.com 恢复网页快照功能

Post by sixsheeps »

又尝试了一下。可以了。真是奇哉怪哉~看来果然是rp问题
User avatar
phoenix
Site Admin
Posts: 526
Joined: Dec 29 2007, 16:27

Re: google.com 恢复网页快照功能

Post by phoenix »

google 网页改版,快照服务器地址统一为 webcache.googleusercontent.com 。规则升级如下:

Code: Select all

[HTTP headers]
In = FALSE
Out = TRUE
Key = "!-|||||||||||| URL: Google Cache AntiBlock 2010.05.15 [phoenix] (out)"
URL = "(webcache.googleusercontent.com/*)\0&$JUMP(https://\0)"
如果是用 sidki 规则包的,直接在 Exceptions-U.ptxt 的 various redirects 下面添加:

Code: Select all

webcache.googleusercontent.com/			$URL(http://\1)$JUMP(https://\1)
Post Reply