Tab Teaser

Description

Tab Teaser is a lightweight engagement plugin that pulls visitors back when they switch to another browser tab. The moment your tab loses focus, Tab Teaser swaps the page title (and optionally the favicon) to a custom, attention-grabbing message. When the visitor switches back, everything is restored instantly.

It is especially effective on cart, checkout, signup, and long-form sales pages where every distracted visitor matters.

Key features

  • Custom inactive title — show any message (emoji supported) when the visitor leaves the tab.
  • Optional flashing animation — alternate between active and inactive titles to grab attention in a crowded tab bar.
  • Trigger delay — wait N seconds after the tab is hidden before swapping. Visitors who tab back in time never see the change.
  • Bundled SVG favicons — three hand-crafted icons (Alert, Shopping Cart, Raised Hand) ship with the plugin. Crisp at every size, zero HTTP overhead.
  • Custom favicon upload — pick any image (PNG, JPG, ICO, SVG) from the WordPress Media Library.
  • Live preview — see exactly how your tab will look as you edit settings. Includes a “Simulate Tab Switch” button.
  • Rich page targeting — run on every page, on selected pages / posts / custom post types / taxonomy terms, or on URL patterns (/checkout/*). Independent exclude rules always win over includes.
  • No external requests — every asset is local. No tracking, no telemetry, no third-party scripts.
  • Accessible & lightweight — vanilla JavaScript on the frontend, ~3 KB minified payload, no jQuery dependency.
  • Multisite-aware uninstall — every option is removed cleanly when the plugin is deleted.

Privacy

Tab Teaser does not collect, store, or transmit any visitor data. It does not make any external HTTP requests. It only reads the browser’s standard visibilitychange event to decide when to swap the tab title and favicon.

Developer hooks

  • tab_teaser_should_load (filter) — final boolean override before frontend assets are enqueued.
  • tab_teaser_settings_defaults (filter) — modify the default settings array.
  • tab_teaser_localized_data (filter) — modify the data passed to the frontend script.
  • tab_teaser_bundled_presets (filter) — register additional bundled favicon tiles.

Screenshots

  • The settings page with live preview pane.
  • Bundled SVG favicon presets (tile picker).
  • Targeting by URL pattern.

Installation

Automatic

  1. In your WordPress dashboard, go to Plugins Add New.
  2. Search for Tab Teaser.
  3. Click Install Now, then Activate.
  4. Go to Tab Teaser in the admin sidebar to configure.

Manual

  1. Download the plugin ZIP.
  2. Upload the unzipped tab-teaser folder to /wp-content/plugins/.
  3. Activate the plugin from Plugins in your WordPress admin.
  4. Go to Tab Teaser in the admin sidebar to configure.

FAQ

Will it slow down my site?

No. The frontend payload is a single ~3 KB vanilla JavaScript file, loaded only on pages that match your targeting rules. There are no external requests and no inline styles or scripts injected into the page.

Does it work with caching plugins?

Yes. The plugin’s frontend logic runs entirely in the browser using JavaScript and the standard visibilitychange API, so it is unaffected by full-page caching, CDN caching, or static-site exporters.

Does Tab Teaser track visitors or collect any data?

No. The plugin does not collect, store, or transmit any visitor data. It does not make any external HTTP requests. See the Description section for the full privacy statement.

Does it work on mobile browsers?

Yes. The visibilitychange event is supported in every modern mobile browser, including iOS Safari (13+) and Android Chrome.

Can I run it only on my checkout page?

Yes. Switch the targeting mode to “On selected content” and pick the checkout page in the include list, or use “On URLs that match patterns” with /checkout/*.

Can I exclude specific pages?

Yes. The targeting card has independent “Exclude” lists for content, taxonomy terms, and URL patterns. Exclusions always win over includes.

Does it work with WooCommerce / Easy Digital Downloads / membership plugins?

Yes. Targeting works with any registered public post type or taxonomy, including WooCommerce products, EDD downloads, BBPress topics, etc. They appear automatically in the targeting selectors.

How do I localize / translate the plugin?

The plugin uses the text-domain tab-teaser. Translations are loaded automatically from /wp-content/languages/plugins/ if available.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Tab Teaser” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Tab Teaser” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial public release.