1.0.1 • Published 3 years ago
is_there_any_focused_tab v1.0.1
This package identifies if there is a focused tab of your website present in your browser.
The value is a string with true/false in the localstorage.
Installation
isThereAnyFocusedTab();
let isfocused = (localStorage.getItem("isThereAnyFocusedTab") == 'true')