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

Use action.openPopup() #12

Open
fregante opened this issue Jul 18, 2024 · 0 comments
Open

Use action.openPopup() #12

fregante opened this issue Jul 18, 2024 · 0 comments

Comments

@fregante
Copy link
Owner

Chrome has recently removed the user interaction requirement for action.openPopup to make it more attractive as a primitive. I recognize that there may still be some use cases for which rendering on top of the web content would be nice

This might be interesting.

Issues:

  • having to override the src of the popup before opening it, and then restoring it, risking conflicts. The path to the document would be the same as defined in Add offline Firefox support #6

Advantages:

  • it shows clear connection to the originating extension
  • it would work on fullscreen windows on macOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant