brillout / brillout/timer-tab

New Feature!!!

Open
#17 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
61
Forks
16
PR merge metrics
No merged PRs in 30d

Description

### It would be very useful to me and potentially to others if you add this new feature: when an alarm or timer ends you automatically get switched to that tab.

Reasons why:
- Im playing a game and want to play for a certain amount of time but play with no volume.
- Im at school putting an alarm when the period will end and have no volume.
- Basically telling you the timer has ended with no volume.

A way I did this(poorly) was I used `window.close();` after the timer ended in javascript and `` to make the page ask if you want to leave in HTML. This essentially makes you get switched to that page no matter what different window you are on. So if you are playing a game in fullscreen you get switched to that tab.

As I said before, this is a very poor way of doing it. I am a very unexperienced coder but wish to learn. If you can add this feature and also do it in a better way I would be grateful :).

P.S. Sorry I wrote a whole letter to you. Maybe I should have emailed you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.