In Chrome and Firefox, whenever I get a new email the inactive tab displays a very subtle notification. Basically, it just shines a little. In Chrome is shines from left to right as if someone is shining a flashlight on the tab.
It also does this when your are on the Twitter homepage, and a new tweet shows up.
I'm sure it is some Javascript function, but I can't seem to find it, because I don't think I am asking the question right.
Does anyone know how to do this?
Select Settings and privacy from the drop down menu. Click or tap Notifications. Click or tap on Email notifications from the settings sidebar. Toggle Email notifications on or off.
Tap whichever icon you have, then select Settings and privacy. Go to your Notifications timeline. To filter your notifications, click on Settings. Click the box next to quality filter to turn on or off.
I posted an answer to a similar question (thanks @Jacob) a while back (about Firefox, not Chrome). The answer works in Chrome as well.
Do you mean that you're building a website and you want to let Firefox notify the user on an event when the tab is pinned?
I'm fairly certain Firefox does it when the website's
<title>
is changed. For instance on Twitter, when there's a new tweet, the title is changed from "Twitter / Home" to "(1) Twitter / Home". Firefox notices this and notifies the user.So really, any javascript function that changes
<title>
will make it work.I hope that helps
Just noticed the post was linked in a comment, so thanks @planetjones too!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With