My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
RuleList  
About the rule lists and their file format.
Featured
Updated Jan 26, 2010 by Mohammadhi

Introduction

A Rule List is a collection of Switch Rules distributed as a text file.

Format

The Rule List file is a normal text file contains the rules grouped by their type (Wildcard or RegExp),
and enclosed by #BEGIN and #END marks.
The file format is similar to ini files format.

Example

; Summary: Example Rule List
; Author: Mhd Hejazi (my@email)
; Date: 2010-01-20
; URL: http://samabox.com/projects/chrome/switchy/switchyrules.txt

#BEGIN

[Wildcard]
*://chrome.google.com/*
*://*.samabox.com/*

[RegExp]
^http://code\.google\.com/.*
youtube

#END

Notes

If the rule pattern is preceded by ! (exclamation mark), then the rule is considered an exclusive rule,
which means that every URL matches this rule pattern will be requested using the default proxy not the rule list proxy.

Comment by bell.cri...@gmail.com, Feb 6, 2010

; Summary: Proxy Switchy! Exported Rule List ; Date: Saturday, February 06, 2010 ; Website: http://bit.ly/proxyswitchy

#BEGIN

wildcard? ://.animedepot.biz/ ://.dmm.co.jp/ ://.getchu.com/ ://.livedoor.jp/ ://twitter.com/ ://.xmarks.com/ ://.youtube.com/ ://.aisex.com/

regexp?

#END

Comment by bell.cri...@gmail.com, Apr 10, 2010

; Summary: Proxy Switchy! Exported Rule List ; Date: Friday, February 12, 2010 ; Website: http://bit.ly/proxyswitchy #BEGIN wildcard? ://.aisex.com/ ://.animedepot.biz/ ://.blogspot.com/ ://4.blog.xuite.net/ ://avno1.com/ ://.dmm.co.jp/ ://.getchu.com/ ://.livedoor.jp/ ://thepiratebay.org/ ://twitter.com/ ://.xmarks.com/ ://.ytimg.com/ ://.youtube.com/ ://twitpic.com/ regexp? #END

Comment by liyanwe...@gmail.com, Apr 12, 2010

(bit.ly|ow.ly|post.ly|url4.eu|goo.gl|j.mp|is.gd|short.ie|url4.eu)---regexp

Comment by yaoweiz...@gmail.com, May 11, 2010

没搞懂new rule和online rule list的关系。

我的理解是,如果设了online rule list,其它的应该就不用设了,或者会自动添加new rule。但现在生成auto proxy mode,不起作用。

Comment by ren0...@gmail.com, May 19, 2010

为啥这个连接:http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 没法用列?我同@yaoweizhen情况差不多,把Rule全删了然后设置了上述链接,重启计算机了都无济于事

Comment by vsk010, May 23, 2010

online rule list 规则获取不了? My ProxySwichy?! cant't subscribe to online rule list.Why?

Comment by mnemotronic@gmail.com, May 23, 2010

Rule processing

Wildcard Rules

Wildcard rules are converted to Regular Expressions using the following logic: The following special characters are escaped by prefacing them with a backslash ("\"):

  • backslash
  • plus
  • vertical bar
  • braces
  • square brackets
  • parens
  • caret
  • dollar sign
  • period
  • number sign
Asterisk ("") is converted to period-asterisk (".") Question mark ("?") is converted to period(".")

Comment by bruce...@gmail.com, Jun 16, 2010

如果你的online rule list不工作,log里没有错误信息,试着disable然后enable switchy,应该就好了。

If the online rule list doesn't work for you and no error in log, please try disable then enable the extension, that should do the trick.

Comment by wuyunan1984, Jul 22, 2010

http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 可以用,必须选择AutoProxy? Compatible List

Comment by michael....@gmail.com, Aug 23, 2010

For those who want to use the rules at http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt, you need to decrypt the file with base64 encryption. In Linux/Unix the command would be 'base64 -d'. After you decrypted the file you can apply it to the online rules.

Comment by Lucasz.S...@gmail.com, Sep 10, 2010

1,先设置 .googlecode.com/ 通过代理访问 2,再设置 自动 http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 就可以用了,好像googlecode.com在访问之前就被屏蔽了,要先设置。 Please fix it.

Comment by ljw...@gmail.com, Sep 20, 2010

楼上正解maybe

Comment by easing2...@gmail.com, Oct 13, 2010

中国大陆,用gfw list确实会出现很多问题,不知怎么回事。

Comment by dragonch...@gmail.com, Oct 17, 2010

经实验证实Lucasz.Shen的方法是正解,已经成功了gfw list应用没有问题!哈哈

Comment by vzde...@gmail.com, Oct 23, 2010

Lucasz.Shen的方法是正解

Comment by liku...@gmail.com, Oct 26, 2010

我照Lucasz.Shen的方法做了,仍然不行。而且我登陆googlecode.com不需要开代理,我用广州一高校的校园网。

Comment by xuem...@gmail.com, Oct 27, 2010

我用Chrome + Pr×oxy Sw×it×chy!插件,一开始不行,后来我Disable,然后Enable插件就可以了 Firefox + Aut×oPr×oxy一次成功。 googlecode.com可以直接访问from北京联通

Comment by wentijia...@gmail.com, Nov 2, 2010

bruce.li的方法很好,设置online rules后停用再启用就OK了。为了查看online rules,可以使用自带的导出功能看看,会发现里面有好多规则。

Comment by dmg%dmg...@gtempaccount.com, Nov 19, 2010

What about case insensitive rule?

Comment by noirenma...@gmail.com, Nov 19, 2010

这几天怎么登陆不上去了呢?用火狐可以登陆 chrome下访问不了

Comment by nightinl...@gmail.com, Nov 30, 2010
  • //googlecode.com/

把这个加到rules里然后gfwlist就OK了

Comment by nightinl...@gmail.com, Nov 30, 2010

//googlecode.com/

Comment by nightinl...@gmail.com, Nov 30, 2010

左右两边加星号

Comment by jary...@gmail.com, Dec 10, 2010

firefox is ok,chrome cant connect to the web www.kanzhongguo.com

Comment by eliot29.z@gmail.com, Dec 11, 2010

xuemind 说的对 禁用再重新启用就解决了`

Comment by phyllis...@gmail.com, Dec 12, 2010

Hi everybody,I'm here to ask for help. What should I do to get access to normal websites like school web when I'm also using FreeGate? to go to Facebook? It always shows 'The requested URL could not be retrieved'. Because I just changed to use Chrome instead of Firefox,I don't know what I should do with Proxy Switchy! I can't figure out how to add websites that I can't get to in the list? Because it is unlike Firefox',it's much easier to just add a website on the list and I can immediately get to that. Besides,I would also like to ask if anyone of you knows what I should install to play music/video clips online with Chrome? I can't use that function and I don't know why! Thanks a lot!

Comment by fuaiqi...@gmail.com, Dec 16, 2010

I from the online rulelist that export from Switchy find: [\w\-]+:\/+(?!\/)(?:[\/]+\.)?developer\.android\.com

If I input "http://developer.android.com" into the address bar, the browser can not open the website. Why? But If I use the proxy to browser this website, it is OK!

Comment by fuaiqi...@gmail.com, Dec 16, 2010

I think Switchy's REG engine need update. It can not match some website use the rule gfwlist.

Comment by wuxi....@gmail.com, Dec 29, 2010

See this:

Comment by bruce.li, Jun 16, 2010 如果你的online rule list不工作,log里没有错误信息,试着disable然后enable switchy,应该就好了。

If the online rule list doesn't work for you and no error in log, please try disable then enable the extension, that should do the trick.

Comment by sacref...@gmail.com, Jan 25, 2011

Hey guys, you should use https:// for the autoproxy gfw list.

Comment by perrys...@gmail.com, Feb 27, 2011

照上面各位提供的方法做了,还是全都用代理了。。。 I did what u guys told but it still doesn't work for me...

Comment by qinxiang...@gmail.com, Mar 13, 2011

到底怎么设置!!!!!!!!!!!!!出个教程啊!!!!!!!!!!!!!!!我无论如何设置都是全部用了代理!!!!!!!!!!!!!!但是我已经获取到list啊 !!!!!!!!!!!!!!!!!!!!!!!!!!!

Comment by wzy...@gmail.com, Mar 16, 2011

我用这个很久了,前几天乱装软件把设置搞坏了,重装了proxy switch,就出现online list无效的情况 刚看到各位的回复,照这位老兄说的做:


Comment by Lucasz.S...@gmail.com, Sep 10, 2010 1,先设置 .googlecode.com/ 通过代理访问 2,再设置 自动 http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 就可以用了,好像googlecode.com在访问之前就被屏蔽了,要先设置。 Please fix it.
然后在扩展程序里停用它,再启用,Ok,老朋友又回来了

Comment by viskerw...@gmail.com, Mar 17, 2011

在 Switch Rules 里首先添加一条新规则 gfw http://autoproxy-gfwlist.googlecode.com/* 然后在 Online Rules 里设置 http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 同时勾选 AutoProxy? Compatible List 开始时设置 Reload Every 时间短一些 15Min,然后随时查看一下 Error Log,如果没有问题,在一点点把时间加长 保存,OK

此为正解,如果还是不能使用,不用找其他原因了,自行检查一下 RP

Comment by wangxue3...@gmail.com, Apr 1, 2011

gfwlist不能用了??昨晚开始的,神马情况?

Comment by firesmok...@gmail.com, Apr 8, 2011

The online list didn't work or auto proxy mode didn't work since last night.I've tried all suggestion posted on this site,but it still doesn't work.Who can help me?

Comment by Capt...@gmail.com, Apr 30, 2011

上面的方法一个一个试下来,只有viskerwong兄的管用~内牛满面ing....谢谢这位仁兄啊!!!!!!

Comment by cnej...@gmail.com, May 2, 2011

实际上面方法都可以,总结一下,这个应该都行 1、把http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt这个加代理 2、设置15分钟 3、停用 再启用 就OK了

Comment by tangqing...@gmail.com, May 14, 2011

在线规则列表有没有新的?

Comment by chao...@gmail.com, May 19, 2011

在线列表貌似不行呀,chrome上没作用。

Comment by pengshua...@gmail.com, Jun 15, 2011

我把上面几位老兄的方法都试了一遍。总算好了。谢谢各位。

Comment by ll.h...@gmail.com, Jul 4, 2011

不能用的童鞋注意两点:

1. 同上面各位大大所说,http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 已墙,需要手动增加规则 ://autoproxy-gfwlist.googlecode.com/ 使switchy能够通过代理读入gfwlist.

2. option里network选项卡下的Monitor Proxy Changes(监测代理变更)一定要去掉,不要勾选。

Comment by renlia...@gmail.com, Jul 11, 2011

终于搞好了

Comment by sionz...@gmail.com, Jul 20, 2011

不行啊……

Comment by lic2...@gmail.com, Jul 21, 2011

我这里也不行 不晓得咋回事

Comment by kylin....@gmail.com, Jul 27, 2011

auto switch does't work?

Comment by leeqf1...@gmail.com, Aug 1, 2011

自动模式不行的朋友,请在switchy rule 增加在线pac地址 http://autoproxy2pac.appspot.com/pac/free-gate

Comment by 9oogle.f...@gmail.com, Aug 3, 2011

1,先设置 http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 通过代理访问 2,再设置 自动 http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 就可以用了,好像googlecode.com在访问之前就被屏蔽了,要先设置。 Please fix it. 3,网路畅通无阻,不管你信不信^^

Comment by biaokang...@gmail.com, Aug 13, 2011

对对对,先停用再启用就OK了!

Comment by wang...@gmail.com, Aug 14, 2011

开始不行,重启下chrome就ok了:)

Comment by ifrees...@gmail.com, Aug 24, 2011

http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 我下载了,怎么打开只是无意义字符呢

Comment by ek9...@gmail.com, Aug 30, 2011

都试过了没有用,我的LIST已经下载下来了,就是不能自动

Comment by PASIN...@gmail.com, Sep 14, 2011

gfwlist用adsl拔号的都没用吧,因为自动模式时没法设置ie的代理连接,而单独选择就可以,相信是插件的问题,要原作者解决或者改源代码才行

Comment by sharebyw...@gmail.com, Oct 26, 2011

不错.自动翻墙

Comment by qiuying...@gmail.com, Nov 3, 2011

好像目前有个bug,全都设置好后,去系统的代理设置里看,在“Use automatic configuration script"下面的本地 pac 路径里file://C:/Users/%YOURNAME%/AppData/Local/Google/Chrome/User%20Data/Default/Extensions/caehdcpeofiiigpdhbabniblemipncjj/SwitchyAuto.pacc?1320371019361,中”SwitchyAuto?.pacc“多了一个”c“,改成“SwitchyAuto?.pac”就好了。呵呵,至少我的是这样,未经过充分测试。

Comment by hwy0...@gmail.com, Nov 4, 2011

下载规则列表失败!怎么破?

Comment by sober...@gmail.com, Nov 5, 2011

真的是折腾了我半天啊!所有的方法都试了一遍,发现问题果然如qiuying兄所言,自动代理的文件名错误导致的! 希望作者尽快修正!

Comment by gouxiong...@gmail.com, Nov 8, 2011

在哪里设置socks5验证用的用户名和密码啊?

Comment by qiuying...@gmail.com, Nov 10, 2011

谢谢 sober... 兄帮忙二次确认,已提交 issue,但是这个扩展好像很久不更新了,checkout 出来源代码,大概搜了一下,没找到对应的问题在哪?:$

Comment by qiuying...@gmail.com, Nov 10, 2011

Issue ID 415

Comment by xj168...@gmail.com, Dec 2, 2011

我使用直接连接,然后更新,就可以了,不走代理,否则就失败

Comment by dongqish...@gmail.com, Dec 2, 2011

我的在线列表规则为什么一直是下载失败啊?不能更新的

Comment by dragonch...@gmail.com, Dec 10, 2011

[09:13:50] warning? - Too small AutoProxy? rules file!,照上面的设置了,还是不行啊

Comment by mask...@gmail.com, Dec 20, 2011

twitter|fackbook|wretch|youtube 这样的规则为啥会失败?

Comment by emb...@gmail.com, Dec 22, 2011
qiuying 正解啊,作者什么时候修复这个bug啊。好麻烦。
Comment by liyufeng...@gmail.com, Dec 22, 2011

请问各位高人,到底怎么才能翻墙啊,,我用的是goagent,然后按照网上的步骤一步一步来的。然后再用谷歌的这个插件,怎么把这个插件和goagent软件连在一起啊,求助啊,

Comment by getu...@gmail.com, Dec 22, 2011

Hi all,

I am trying to match hostnames without domain names usin regex. I am trying to use this rule but it does not work. https?://[^.]/.+ any ideas? thanks

Comment by getu...@gmail.com, Dec 23, 2011

https?://[^.]/. works

Comment by zhenxinf...@gmail.com, Jan 5, 2012

规则因人而异,是不是有白名单,黑名单

Comment by yehua.l...@gmail.com, Jan 25, 2012

关键怎么设置:1,先设置 http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 通过代理访问 ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 2,再设置 自动 http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 就可以用了,好像googlecode.com在访问之前就被屏蔽了,要先设置。 Please fix it. 3,网路畅通无阻,不管你信不信^^

Comment by yehua.l...@gmail.com, Jan 25, 2012

无论如何设置都是无法载入网页!!!!!!!!!

Comment by jason.66...@gmail.com, Feb 3, 2012

正确的GFWLIST网址是https://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 前面是https,各位。

Comment by aspirer2...@gmail.com, Feb 10, 2012

建议大家用switchy sharp,这个按照1、添加规则 使用代理访问://autoproxy-gfwlist.googlecode.com/,2、使用gfwlist.txt就可以直接用了,proxy switchy也可以自动切换代理,但是好像还是打不开代理网页,不知道为什么。

Comment by aspirer2...@gmail.com, Feb 10, 2012

://autoproxy-gfwlist.googlecode.com/前后有星号()

Comment by porscheh...@gmail.com, Mar 14, 2012

貌似有些人还没搭建好server就想直接翻了。

Comment by luredr...@gmail.com, Apr 17, 2012

非常好 我的就是使用 这个才能看到这个呢

www.luredress.com

Comment by fw5240...@163.com, Apr 20, 2012

jason.66正解啊!!一个S,意义大有不同!!

Comment by fennudeg...@gmail.com, May 5, 2012

co.ccDNS地址 输入不了啊。怎么办?

Comment by pop...@gmail.com, May 13, 2012

在线规则列表 打开chrome就崩溃啊 有人遇到这么问题么。崩溃就自动关闭了。

Comment by cz0...@qq.com, May 19, 2012

我的也不能用了,然后在“设置—扩展程序”里点了允许访问文件网址就好了。

Comment by ganxuming, May 25 (3 days ago)

switchy禁用再启用是正解。


Sign in to add a comment
Powered by Google Project Hosting