Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编辑PAC用户自定规则需要用什么格式呢? #333

Closed
elvis1121 opened this issue Apr 18, 2017 · 12 comments
Closed

编辑PAC用户自定规则需要用什么格式呢? #333

elvis1121 opened this issue Apr 18, 2017 · 12 comments

Comments

@elvis1121
Copy link

No description provided.

@sinoon
Copy link

sinoon commented Sep 20, 2017

自定义pac列表规则

规则大概描述如下

如何使用自定义规则

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||amazonaws.com
||atom.io
||github.com^

推荐你用ip138或者百度试一下,看看ip地址是否改变

@saulzy
Copy link

saulzy commented Dec 14, 2018

为什么我添加了规则后不起作用。

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||ip138.com

@jearton
Copy link

jearton commented Jan 30, 2019

@saulzy 要重启客户端,亲测有效

@AiksRiver
Copy link

@saulzy 要重启客户端,亲测有效
是的 有效

@zhujun8286
Copy link

zhujun8286 commented Jun 28, 2019

自定义PAC列表规则

规则大概描述如下

如何使用自定义规则

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||amazonaws.com
||atom.io
||github.com^

推荐你用IP138或者百度试一下,看看IP地址是否改变

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||baidu.com^
其他网址都可以,就是百度不行啊,不起作用!

@thinkycx
Copy link

thinkycx commented Feb 6, 2020

switchyomega + ShadowsocksX-NG 最新版

规则:

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||*.ip138.com
||*.baidu.com
||*.evernote.com
||*.gmail.com
||imap.gmail.com
||smtp.gmail.com

重启 ShadowsocksX-NG也无效,应该怎么解决呢?

@syh0304
Copy link

syh0304 commented May 5, 2020

switchyomega + ShadowsocksX-NG 最新版

规则:

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||*.ip138.com
||*.baidu.com
||*.evernote.com
||*.gmail.com
||imap.gmail.com
||smtp.gmail.com

重启 ShadowsocksX-NG也无效,应该怎么解决呢?
||@@*.baidu.com

@thinkycx
Copy link

thinkycx commented May 5, 2020

switchyomega + ShadowsocksX-NG 最新版
规则:

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||*.ip138.com
||*.baidu.com
||*.evernote.com
||*.gmail.com
||imap.gmail.com
||smtp.gmail.com

重启 ShadowsocksX-NG也无效,应该怎么解决呢?
||@@*.baidu.com

请问@@什么意思?

@rockdean
Copy link

rockdean commented Jul 7, 2020

switchyomega + ShadowsocksX-NG 最新版
规则:

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||*.ip138.com
||*.baidu.com
||*.evernote.com
||*.gmail.com
||imap.gmail.com
||smtp.gmail.com

重启 ShadowsocksX-NG也无效,应该怎么解决呢?
||@@*.baidu.com

请问@@什么意思?

例外规则 @@,如 @@.example.com/ 满足@@后规则的地址不使用代理

上面有说

@monsuns
Copy link

monsuns commented Mar 10, 2021

switchyomega + ShadowsocksX-NG 最新版

规则:

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||*.ip138.com
||*.baidu.com
||*.evernote.com
||*.gmail.com
||imap.gmail.com
||smtp.gmail.com

重启 ShadowsocksX-NG也无效,应该怎么解决呢?

|| 后面跟一个空格, 再写地址. 如

|| github.com^

@Horse888
Copy link

Horse888 commented Jun 5, 2021

switchyomega + ShadowsocksX-NG 最新版
规则:

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||*.ip138.com
||*.baidu.com
||*.evernote.com
||*.gmail.com
||imap.gmail.com
||smtp.gmail.com

重启 ShadowsocksX-NG也无效,应该怎么解决呢?

|| 后面跟一个空格, 再写地址. 如

|| github.com^

不需要. 更改之后必须要重启ShadowsocksX-NG.

@CheneyBear
Copy link

请问能否把这个规则用来打开pc上的一个软件?这个软件强制使用梯子?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests