hypothesis-firefox icon indicating copy to clipboard operation
hypothesis-firefox copied to clipboard

Does not load on MDN?

Open itsmohmans opened this issue 2 years ago • 5 comments

For some reason, the extension doesn't work on MDN, it works perfectly on other sites but doesn't load on MDN.

itsmohmans avatar Jan 17 '23 11:01 itsmohmans

Can you elaborate on which page specifically? I opened the site and browse around with the addon and it worked fine. Screenshot from 2023-01-18 10-24-04

Abdillah avatar Jan 18 '23 03:01 Abdillah

Can you elaborate on which page specifically?

in any page under https://developer.mozilla.org/
I even tried Firefox in a new profile without any addons installed with the default settings and only installed this addon and still didn't work on MDN but worked on other sites.

I'm on FF 108.0.1, is there a specific thing I can do to debug it?

itsmohmans avatar Jan 18 '23 05:01 itsmohmans

After some inspecting, I found out that the GET request to https://cdn.hypothes.is/hypothesis/1.1192.0/build/scripts/annotator.bundle.js?d5e3ee= is blocked only on MDN

image

itsmohmans avatar Jan 18 '23 05:01 itsmohmans

The GET request also gets blocked on a few other websites. Another example hereafter. Is there a way to bypass this ?

image

ngrlt avatar Apr 13 '23 20:04 ngrlt

@itsmohmans Ah yes, MDN's Content Security Policy has some rule that hasn't been bypassed.

Thanks for the report too @Henrydice.

Abdillah avatar Apr 13 '23 22:04 Abdillah