See title, proposal is to use this: https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API
Can be new introduction to implement the ping with view status.
An, will see if this applies. In example it does notification click event, that's tooo late ofcourse. I wads thinking about not even sending the notification if window is not visible, so i wanted to track visibility state.
> @retoor You can't using page visibility in service worker, luckily mozilla already has a fix for you ;P
>
> https://developer.mozilla.org/en-US/docs/Web/API/WindowClient
An, will see if this applies. In example it does notification click event, that's tooo late ofcourse. I wads thinking about not even sending the notification if window is not visible, so i wanted to track visibility state.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
See title, proposal is to use this: https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API
Can be new introduction to implement the ping with view status.
An, will see if this applies. In example it does notification click event, that's tooo late ofcourse. I wads thinking about not even sending the notification if window is not visible, so i wanted to track visibility state.