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

编写兼容 Decentraleyes 的在线规则文件 #10

Open
fengyc opened this issue Feb 10, 2017 · 3 comments
Open

编写兼容 Decentraleyes 的在线规则文件 #10

fengyc opened this issue Feb 10, 2017 · 3 comments
Assignees

Comments

@fengyc
Copy link
Owner

fengyc commented Feb 10, 2017

Decentraleyes 在扩展内部保存一系列的开源库文件,通过一个 mapping 来把 url 请求转为获取本地缓存, mapping 的规则见 https://github.com/Synzvato/decentraleyes/blob/master/lib/mappings.js

编写一个在线规则文件,实现对 Decentraleyes 的兼容。

@fengyc fengyc self-assigned this Feb 10, 2017
@ivysrono
Copy link

ivysrono commented Feb 10, 2017

Decentraleyes 作者坚持按照流行度添加库文件,我提交过一个将当时全部 jquery 加入的 PR,被拒了……
从此开始给 Redirector 写排除规则。

@fengyc
Copy link
Owner Author

fengyc commented Mar 1, 2017

在现有的框架下需要跳过本地规则来实现这些功能,需要加一个 actions 列表(redirect / cancel / skip / continue / head ),actions 指定要进行的下一步操作 ,才能和 #15 一起处理掉

@ivysrono
Copy link

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

No branches or pull requests

2 participants