DEV Community

Ankit Beniwal
Ankit Beniwal

Posted on

1 1

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 🙂

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay