brian-girko / always-active

Pretend a webpage is in its active state even if not
https://webextension.org/listing/always-active.html
75 stars 12 forks source link

Youtube can detect user activity #22

Closed ghost closed 1 year ago

ghost commented 2 years ago

I noticed this while playing a video in the background. Normally, when the video ends, cards are shown to recommend other videos.

When the video plays while tab is in the background, the video ends, but the page waits until the tab is foreground again before showing those cards. It can clearly detect that the tab is not visible and when it became visible again.

Happy to help with this if there's anything I can do!

harryqt commented 1 year ago

Can confirm. YT can detect. (Firefox 105.0.3)

ghost commented 1 year ago

Closed with 0.2.6 / https://github.com/brian-girko/always-active/commit/84142b9315620f73b14b4b90bf5d065834af3172