Using JavaScript, can we blink/highlight browser tab/window and if possible the taskbar icon too. This is to bring attention of the user to the tab/window.
Asked
Active
Viewed 3,949 times
1
-
No, (thankfully) but consider the [Notification API](https://developer.mozilla.org/en-US/docs/Web/API/notification) as an alternative. – zero298 Mar 05 '18 at 16:23
-
You can consider changing favicon of the website or title of it. – void Mar 05 '18 at 16:24
1 Answers
1
No. This is not possible. JavaScript does not have access to that kind of functionality.
EDIT: Animating the text of the tab is the closest thing you are going to get to this kind of functionality.
-
If you had seen the google chat's(Gsuite) browser tab highlighting, you wouldn't say that!.. – Kuppusamy Mar 18 '20 at 16:26
-
-
Check this out https://gist.github.com/mbohanon/def685be086a44b833d37fe0cccf17c9 – Kuppusamy Jun 01 '21 at 15:17