Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
`embed-gist-inline` fails on Firefox #2022
Looks like this is an issue when Chrome instead. Firefox blocks the request because of CSP. Chrome, however, allows it, but it seems as though it only allows the request when it is executed in an extension context only.
Relevant Error from Firefox:
This is a weird bug because technically "Content script requests happen in the context of extension, not content page" in Firefox, but then the content page's CSP applies to said requests. The worst of both worlds.
Perhaps the solution is to add a CSP to the extension itself, but I don't think that's currently possible