Skip to content

I want a javascript API to set a event when the browser is going to open a new page. #499

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

Open
WebWeWantBot opened this issue Oct 9, 2021 · 0 comments

Comments

@WebWeWantBot
Copy link
Collaborator


title: I want a javascript API to set a event when the browser is going to open a new page.
date: 2021-10-09T14:41:09.660Z
submitter: YanSH
number: 6161aa052a7f784ac3c8e385
tags: [ ]
discussion: https://github.com/WebWeWant/webwewant.fyi/discussions/
status: [ discussing || in-progress || complete ]
related:

  • title:
    url:
    type: [ article || explainer || draft || spec || note || discussion ]

When publishing some user-generated contents written in HTML, I can hardly prevent them from opening a new page, so I want an API to set an event when the browser is going to open a new page, then I can control these contents better.


If posted, this will appear at https://webwewant.fyi/wants/6161aa052a7f784ac3c8e385/

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