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

增加事件监听点 events 和执行动作 action 支持 #18

Open
fengyc opened this issue Mar 7, 2017 · 0 comments
Open

增加事件监听点 events 和执行动作 action 支持 #18

fengyc opened this issue Mar 7, 2017 · 0 comments
Assignees

Comments

@fengyc
Copy link
Owner

fengyc commented Mar 7, 2017

监听点 events https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest 在指定的事件上进行处理

为支持更加丰富的功能,引入可扩展的 action 支持,用于表示该条规则的动作,包括:

  • cancel 取消请求
  • redirect 重定向
  • skip 跳出执行
  • 其它更多的动作...

此功能影响较大,需要小心设计,实现此项功能在支持 #10 #15 方面更加简单,同时能带来更强的扩展能力。

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

1 participant