In current article we’ll show you how to grab your website / blog visitor’s attention back to your site open tab in browser by changing page title text in browser using jQuery focus and blur method.
In current day like us most of visitor have habit of open numbers of tabs in same browser and go one by one quickly. So It is a good idea to change the page title to something catchy when the user moves to a different tab to catch his attention. Change Page Title in browser tips can help to get the user to come back your website.
let’s take a look at below example code and know how to change the page title when visitor moves to different tab using jQuery.
Following the jQuery code will change the page title to “Please come back… ” on focus out and set the original title when the visitor focus is back on your website the page.
by implementing “Change Page Title in browser on Focus Out Using jQuery ” trick on your website it will make your tab stand out from the others open tab in same browser.