x74353/Amphetamine-Enhancer

Feature request: trigger based on open browser tabs

rdamazio opened this issue · 0 comments

It'd be nice to be able to trigger a session when a browser tab with a particular URL (or URL pattern) is open, at least in popular browsers.

Example use cases:

  • Prevent sleep while on a video call (if, say, you step away from the computer for a bit)
  • Prevent sleep while playing music/video
  • Prevent sleep while uploading a file (e.g. YouTube video)
  • Prevent sleep while an online game is open

Obviously there are security implications of being able to see the user's open tabs which would need to be considered, but this feels generally useful.

(I'd love to contribute this but may not have the time - so instead I'd be happy to make a donation if support is added for Chrome)