CSP in combination with optional host permission recommendation

116 views
Skip to first unread message

Arnoud Kooi

unread,
May 23, 2024, 9:55:27 AMMay 23
to Chromium Extensions
I currently have a strict Content Security Policy on my extension Link

I want to start utilizing optional host permission, so users can opt to decide to allow it to other domains.
Can I safely adjust my CSP, may that disable the extension?
Will it affect the approval process?

Any insights / best practices would be appreciated.


Patrick Kettner

unread,
May 25, 2024, 7:51:12 AMMay 25
to Arnoud Kooi, Chromium Extensions
Hi Arnoud!
We have a tool that you can use to test this exact thing. That being said, no, changing the CSP value does not disable the extension

patrick

--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/f927a2b3-ec3e-4fc8-aefc-685215c03ecdn%40chromium.org.
Reply all
Reply to author
Forward
0 new messages