benwinding / newsit

Chrome Extension for Hacker News and Reddit Links
https://newsit.benwinding.com
MIT License
23 stars 1 forks source link

Working for a site with Firefox but not with Chromium #10

Closed grahamperrin closed 3 years ago

grahamperrin commented 3 years ago

Spun off from https://github.com/benwinding/newsit/issues/9#issuecomment-846526998

2.0.5 works for https://www.devever.net/~hl/freenode_abuse in Firefox but not in Chromium; nothing appears after a click on Check Current Page.

benwinding commented 3 years ago

Hi @grahamperrin, Should be fixed in 2.0.6, to sum up the fix: there seems to be an issue with using an <iframe /> element in some cases (which is how the extension is inserted to the page). So instead I've changed it to use the more modern Shadow DOM, which is very similar. Let me know if the issue persists. Cheers, Ben