allowlist-manager icon indicating copy to clipboard operation
allowlist-manager copied to clipboard

Add more restrictive whitelist per URL, instead of just domain

Open fproulx-pbox opened this issue 8 years ago • 2 comments

fproulx-pbox avatar Dec 21 '16 16:12 fproulx-pbox

+1. It would be nice to be able to filter also by url not only by domain, e.g.

bla.com/images/*

I saw some code in

src/utils/glob/src/index.js

but I have no clue if it is active and how to make use of it:

// Allow all subdomains if none was specified.
  if (simpleDomain.test(glob)) {
    regexp = `(.+\\.)?${regexp}`
  }

lcb avatar Jan 30 '17 17:01 lcb

Thanks for reminding me. I'll try to come back to this when I have some free time, but feel free to debug, poke around, and report back, if you have the time.

unindented avatar Jan 30 '17 17:01 unindented