Artyom Pranovich
2018-08-24 15:21:35 UTC
Hi guys,
I'd like to know if there are any places in Chromium codebase where we can
restrict some domains from running/injecting content script on them?
Just for example, imagine I'd like to block running content scripts
injected by 'Extension X' / or by all extensions on any pages of my site
hosted on **.mydomain.com*. Of course assuming that I have custom chromium
build.
I'm pretty sure that there is such place, because *chrome://* pages already
do that (more info about blocking injecting content scripts on chrome://
pages is here
<https://groups.google.com/forum/#!topic/chromium-extensions/FORua7gwsqI>).
So if someone could guide me through the flow how I can do that, or just
give me directions to particular Chromium codebase place where I could look
into - it would be awesome!
Thanks,
Artyom.
I'd like to know if there are any places in Chromium codebase where we can
restrict some domains from running/injecting content script on them?
Just for example, imagine I'd like to block running content scripts
injected by 'Extension X' / or by all extensions on any pages of my site
hosted on **.mydomain.com*. Of course assuming that I have custom chromium
build.
I'm pretty sure that there is such place, because *chrome://* pages already
do that (more info about blocking injecting content scripts on chrome://
pages is here
<https://groups.google.com/forum/#!topic/chromium-extensions/FORua7gwsqI>).
So if someone could guide me through the flow how I can do that, or just
give me directions to particular Chromium codebase place where I could look
into - it would be awesome!
Thanks,
Artyom.
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.