how to catch popups #826
Unanswered
dongfanglong2012
asked this question in
Q&A
Replies: 2 comments 1 reply
-
No, not currently, but my feeling is that it can be implemented at least in some renderers. Pywebview catches target=blank links and opens them in an external browser though. Popups can probably be caught in a similar way. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The implementation varies from renderer to renderer, but if you search for webbrowser.open, you will find some examples.
E.g. edge chromium catches NewWindowRequested event, it might catch pop ups as well
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
is there a way to catch popups in a new pyweview window? for example the site loaded in the pywebview has a popup when a given btn is clicked that opens a new window. Is there a way to force that new window to be a pywebview without editing the website.
Beta Was this translation helpful? Give feedback.
All reactions