schomery / policy-control

A browser extension to allow first-party resources with exceptions!
http://add0n.com/policy-control.html
30 stars 11 forks source link

Return the regular expressions #11

Closed SCmkQrK1NhwcWoPJF3FImaqHnG2PqPLWBt2GtSU closed 6 years ago

SCmkQrK1NhwcWoPJF3FImaqHnG2PqPLWBt2GtSU commented 6 years ago

Without regular expressions, this addon is worse than uMatrix (https://addons.mozilla.org/firefox/addon/umatrix/) and Policeman (https://addons.mozilla.org/firefox/addon/policeman/).

ghost commented 6 years ago

I would concur, that RegExp would make sense, e.g. for jquery. As it is right now each CDN source for jquery would have to be whitelisted individually as opposed with RegExp it could be done globally.

Perhaps a better example for global RegExp would be "oauth", rather than having to set for each single domain.

schomery commented 6 years ago

We will have RegEx support as of the next release.