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

Add a way for extension main files to launch urls in a browser window #1369

Open
Sebastian-ubs opened this issue Dec 4, 2024 · 0 comments
Open
Labels
enhancement New feature or request ux UX design needed

Comments

@Sebastian-ubs
Copy link
Contributor

Sebastian-ubs commented Dec 4, 2024

User Story
As a extension developer, I want to be able to open a website in the user's browser so that I can send them to more information.

Example use case: Open the currently loaded website of a website viewer tab in the web browser: Because website viewer is a url webview, there is no other place to add such action than in the menu.

Description
It's possible to launch a url in the web browser by clicking on a link in a web view, but there is not way to do that from the extension host process, e.g. add a menu entry that would open a url in the browser.

window.open is not available and importing packages (e.g. from electron) throws

Error: Requiring other than papi is not allowed in extensions!

Implementation idea

Testing ideas

@Sebastian-ubs Sebastian-ubs added enhancement New feature or request ux UX design needed labels Dec 4, 2024
@tjcouch-sil tjcouch-sil changed the title Add a way for extensions to launch urls in a browser window Add a way for extension main files to launch urls in a browser window Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ux UX design needed
Projects
Status: No status
Development

No branches or pull requests

1 participant