v2rayL PAC规则设置截图

添加PAC自定义规则
可以看到主要是参考adblockplus的规则设置

规则大致如下

  • 通配符支持,如 *.example.com/* 实际书写时可省略 如 .example.com/ 意即 *.example.com/*
  • 正则表达式支持,以\开始和结束, 如 \[\w]+://example.com
    例外规则 @@,如 @@*.example.com/* 满足@@后规则的地址不使用代理
  • 匹配地址开始和结尾 |,如 |http://example.com、example.com| 分别表示以 http://example.com 开始和以 example.com 结束的地址
  • || 标记,如 ||example.com 则 http://example.com 、https://example.com 、ftp://example.com 等地址均满足条件,只用于匹配地址开头
  • 注释 ! 如 ! Comment
  • 分隔符^,表示除了字母、数字或者 _ - . % 之外的任何字符。如 http://example.com^ ,http://example.com/ 和http://example.com:8000/ 均满足条件,而 http://example.com.ar/ 不满足条件

保存定义并生效

点击右上角保存按钮并重新打开软件

相关文章:

  • 2021-09-07
  • 2022-12-23
  • 2021-12-09
  • 2022-01-22
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2022-01-03
  • 2022-01-02
  • 2021-08-03
  • 2022-02-02
相关资源
相似解决方案