Cimbali / markdown-viewer

Markdown (.md) file viewer WebExtension for your browser.
Other
165 stars 28 forks source link

The viewer is not triggered on raw.githubusercontent.com #33

Closed georgthegreat closed 6 years ago

georgthegreat commented 6 years ago

E. g. https://raw.githubusercontent.com/KeithLRobertson/markdown-viewer/master/README.md

Even when this domain is enabled in addon settings, I see raw markdown instead of compiled one.

Is there any reason for such behavior?

KeithLRobertson commented 6 years ago

Yes. Those pages include CSP headers, so FF refuses to allow extensions to inject scripts. I guess it's a security feature.

I didn't know this either until @Cimbali pointed this out in issue #25.