Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

timvaniersel/browser-tab-title-reminder-wordpress-plugin

Open more actions menu

Repository files navigation

Browser tab title reminder WordPress plugin

Change the browser tab Title when the tab is not active as a reminder or to get the attention back from the user.

Description

Change the browser tab Title when the tab is not active as a reminder or to get the attention back from the user.

The variables that can be set are:

  • Time before the title changes
  • The title when page is inactive

Installation

You can download the plugin from Github.

  1. Upload browser-tab-title-reminder directory to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

Frequently Asked Questions

Can I use emoji in the title?

Yes, using emoji is a great way to get the users attention.

Is it supported in all browsers?

From what we tested it is.

What if I'm not using WordPress?

Use the following code:

(function() {
	'use strict';

	var pageTitle = document.title;
	var titleTimeout;

	window.addEventListener( 'blur', function() {
		window.clearTimeout( titleTimeout );
		titleTimeout = window.setTimeout( function() {
			document.title = "Don't forget us :)";
		}, 3000 );
	} );

	window.addEventListener( 'focus', function() {
		window.clearTimeout( titleTimeout );
		document.title = pageTitle;
	} );
}());

About

Change the browser tab Title when the tab is not active as a reminder

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.