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

Prevent JavaScript from navigating the page within Via #183

Open
4 tasks
seanh opened this issue May 20, 2021 · 0 comments
Open
4 tasks

Prevent JavaScript from navigating the page within Via #183

seanh opened this issue May 20, 2021 · 0 comments

Comments

@seanh
Copy link
Collaborator

seanh commented May 20, 2021

When a user clicks on a link in Via it opens the link target in a new tab that is not proxied by Via: #9

But when the page is navigated by JavaScript this still navigates the original tab and does not leave Via. We need to intercept these programmatic navigations and make them open in a new, non-proxied tab like normal link navigations do.

There are multiple ways that JavaScript can navigate the page. This is the master issue for all of them:

Slack threads:

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