aria-devtools icon indicating copy to clipboard operation
aria-devtools copied to clipboard

Not compatible with Content Security Policy

Open xi opened this issue 1 year ago • 3 comments

When I try to use this extension I get the following errors in the developer console:

Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“style-src”).
Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“default-src”).

xi avatar Oct 08 '24 13:10 xi

Could you please share a URL to a website where it fails to load. It might be that CSP settings actually block ARIA DevTools scripts. Do other browser extensions that affect page elements run on your page?

ziolko avatar Oct 09 '24 12:10 ziolko

Just as a random example: https://xi.github.io/cryptpadtab/

It seems like the issue has to do with unsafe-inline styles.

xi avatar Oct 09 '24 12:10 xi

I've reproduced the problem. It seems to be Firefox specific. I will check if I can do something about this.

ziolko avatar Oct 10 '24 08:10 ziolko