Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stuff.mit.edu - Missing host permission for the tab #162

Open
ianchanning opened this issue Feb 1, 2023 · 2 comments
Open

stuff.mit.edu - Missing host permission for the tab #162

ianchanning opened this issue Feb 1, 2023 · 2 comments

Comments

@ianchanning
Copy link

Screenshot from 2023-02-01 20-23-23

  • Browser: Firefox v109.0
  • OS: Pop_OS! 22.04 LTS
  • Extension version: 0.6.9

For some reason on https://stuff.mit.edu I get:

"Missing host permission for the tab"

and it refuses to display your reader view. I tested on various pages all the way up to the root. This was the first page I came across: https://stuff.mit.edu/people/dpolicar/writing/poetry/poems/fareForward.html

Seems that it's a general Firefox extension problem, but not sure why I get the error just for this one site and not others. For example https://mit.edu is fine.

From what little I know its something to do with the manifest.json permissions and host_permissions.

@ianchanning
Copy link
Author

Further notes - the page is in 'Quirks mode'

Screenshot from 2023-02-01 20-42-12

Regular Firefox reader view works:

Screenshot from 2023-02-01 20-40-01

The similar plugin to yours, unclutter, also fails, but fails silently.

@rNeomy
Copy link
Owner

rNeomy commented Feb 18, 2023

The site is sandboxed, hence the extension is not able to access its content! As far as I can tell, there is no way to bypass it. I'll keep this open for suggestions.

Content-Security-Policy: sandbox allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-scripts allow-top-navigation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants