You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
I want to be able to intercept click events for a BrowserWindow (or WebContents), so that I can prevent a timeout. The page in my app checks for activities, but this doesn't work for cross-domain iframes (the 'click' event won't bubble out of the iframe), so I want to detect this at the window level. This will also allow me to intercept clicks on the titlebar and shell of the window.
Proposed Solution
Add 'click' event for the BrowserWindow or WebContents that detects all types of clicks (left, middle, right clicks on the entire window)
Alternatives Considered
Otherwise, I have to hook each Windows message that I care about and handle this myself:
Preflight Checklist
Problem Description
I want to be able to intercept click events for a
BrowserWindow
(orWebContents
), so that I can prevent a timeout. The page in my app checks for activities, but this doesn't work for cross-domain iframes (the'click'
event won't bubble out of the iframe), so I want to detect this at the window level. This will also allow me to intercept clicks on the titlebar and shell of the window.Proposed Solution
Add
'click'
event for theBrowserWindow
orWebContents
that detects all types of clicks (left, middle, right clicks on the entire window)Alternatives Considered
Otherwise, I have to hook each Windows message that I care about and handle this myself:
The text was updated successfully, but these errors were encountered: