Demo to preview the plugin:
Introduction
This plugin helps you detect when a user opens multiple tabs or windows of your Bubble app on the same device and browser. It’s designed to prevent shared cache issues, reduce performance overhead, and maintain consistent user sessions.
When a duplicate tab or window is detected, the plugin can trigger custom actions such as displaying a popup, blocking content access, or automatically closing the extra tab.
Prerequisites
- A Bubble application where you want to manage user session consistency.
- Basic familiarity with Bubble workflows and conditionals.
- Optional: A popup or alert element if you want to visually notify users of duplicate tabs.
How to setup
Step 1 – Install the Plugin
Step 2 – Add the Plugin Element to Your Page
Step 3 – Configure Properties
Plugin Element Properties - Duplicate Window
Fields
Title | Description | Type |
Close Window | Determines whether the detected duplicate tab or window should automatically close when identified. | Checkbox (Yes/No) |
Delay | Sets the time (in milliseconds) before the duplicate tab or window is automatically closed after detection. | Number |
Element Events
Title | Description |
Duplicate Tab Has Been detected | Triggered when the plugin detects that another tab or window of the same site is open in the same browser. |