funtabify v1.0 A javascript library to change page title (text visible on tab) when user switches tab of a browser. Requirement jQuery Library Usage Download Minified Funtabify Library Include it at the end of your webpage before closing body tag: <script src="<path-to-funatbify.min.js"></script> <script>new funtabify("<Text-to-display-on-tab-switch>");</script> Licenced under GNU GPLv3
'onvisibilitychange' is now supported in most modern browsers. But people around me doesn't much care about updating browsers. So, this snippet might not always give desired results.
No worries, Check out this library with various polyfills:
A javascript library to change page title (text visible on tab) when user switches tab of a browser.
funtabify v1.0
A javascript library to change page title (text visible on tab) when user switches tab of a browser.
Requirement
Usage
Licenced under GNU GPLv3
or get a ready to use production copy.
Catch me on twitter