DEV Community

Ankit Beniwal
Ankit Beniwal

Posted on

Funtabify | Change page title(text visible on a tab) whenever user switches browser tab

Greetings fellas!

I hope you'll are doing well and keeping yourself safe at home.
Here I present a library for changing title of a webpage (Text visible on Tabs of a browser) whenever user switches to another tab.

Total production code is less than 1KB and doesn't affect SEO of a page. In fact, this technique can lure the attention of users.

Show your love by star marking this repository.

GitHub logo ankitbeniwal / funtabify

A javascript library to change page title (text visible on tab) when user switches tab of a browser.

funtabify v1.0

GitHub GitHub top language GitHub file size in bytes GitHub release (latest by date)

A javascript library to change page title (text visible on tab) when user switches tab of a browser.

Requirement

  1. jQuery Library

Usage

  1. Download Minified Funtabify Library
  2. 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>
Enter fullscreen mode Exit fullscreen mode

Licenced under GNU GPLv3




Follow me on twitter or instagram.

Regards 🙂

Latest comments (0)