Proposal: webRequest worklets (original) (raw)

It has been discussed many times that DNR does not support many use cases that were possible using Blocking webRequest. Some of the use cases are summarized in this meta ticket.

Some solutions were suggested by the browser vendors, but they are far from achieving reasonable functionality. The fact that DNR is declarative, limits its functionality and any solution based on it would probably be too limited.

Therefore I would like to suggest a non-declarative alternative to DNR and Blocking webRequest. I call it "webRequest worklets".

"webRequest worklets" would provide the benefits of DNR: security and performance, but with lower impact to developers.

How it works?

Benefits of "webRequest worklets":

Happy to hear your thoughts on this.