/custom-tab-javascript

Create a simple custom title when change tab in browser. You can see this project in "tab" folder.

Primary LanguageJavaScript

Custom tab title when blur in javascript

Create a simple custom title when change tab in browser. You can see this project in "tab" folder.

Usage (tab/tabTitle.js)

Example of call this function:

<script src="tab/tabTitle.js"></script> in your index.html file
Now you can call changeTabTitle('Your custom title')

Usage (tab/tabTitleES6.js)

Example of call this function:

Import file using ES6 "import changeTabTitle from './tab/tabTitleES6'" 
Now you can call changeTabTitle('Your custom title')

Usage (tab/tabTitle_clr.js)

Example of call this function:

<script src="tab/tabTitle_clr.js"></script> in your index.html file
Now you can call tabTitle.render('My Custom Title Change')

Example Usage

document.addEventListener("DOMContentLoaded", function(event) {
	tabTitle.render('My Custom Title Change')
})