ylbjabc
小狐狸
小狐狸
  • UID6275
  • 注册日期2005-05-24
  • 最后登录2015-05-19
  • 发帖数23
  • 经验17枚
  • 威望0点
  • 贡献值14点
  • 好评度0点
阅读:4132回复:1

autoproxy规则怎么写?

楼主#
更多 发布于:2010-11-05 01:34
他主页说明不太全,现要求对.org域名代理,而地址其他地方出现.org的不代理。怎么写规则呢?
比如
要求代理以下
<!-- w --><a class="postlink" href="http://www.mozilla.org/example/index.html">www.mozilla.org/example/index.html</a><!-- w -->
<!-- w --><a class="postlink" href="http://www.bbcode.org/org/org/org/forum.php">www.bbcode.org/org/org/org/forum.php</a><!-- w -->
addon.mozilla.org/gif/org.html
example.org/index.html
但不代理以下地址
<!-- w --><a class="postlink" href="http://www.baidu.com/org/torgrong.html">www.baidu.com/org/torgrong.html</a><!-- w -->
<!-- w --><a class="postlink" href="http://www.google.com/789/tolorgle.html">www.google.com/789/tolorgle.html</a><!-- w -->
<!-- w --><a class="postlink" href="https://www.firefox.net.cn/lorgation/gogorg.html">www.firefox.net.cn/lorgation/gogorg.html</a><!-- w -->
应该怎么写表达式呢?
dindog
千年狐狸
千年狐狸
  • UID30818
  • 注册日期2009-10-24
  • 最后登录2023-02-03
  • 发帖数1195
  • 经验59枚
  • 威望0点
  • 贡献值26点
  • 好评度10点
1楼#
发布于:2010-11-05 01:34
这个可以这样,新建一组规则:
\.org,然后设分组代理,不过这是正则规则,慢一点。

autoproxy其实规则核心是adp 1.1,规则写法同adp一样的,想详细点可以到adp官网学习,也有中文翻译,在chinalist上面
http://code.google.com/p/adblock-chinal ... us_filters
以前firefox跳个票的时间现在可以发布几个正式版了-_-
游客

返回顶部