[WordPress] 外掛分享: Tab Teaser

首頁外掛目錄 › Tab Teaser
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-05-24

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Tab Teaser」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon