observe-all
v1.0.0
Published
Prevent users from opening and interacting with multiple tabs of the same web app.
Downloads
14
Maintainers
Readme
observe-all
Prevent users from opening and interacting with your web app in multiple tabs.
📦 Installation
Install via npm:
npm install observe-all🛠️ Usage
import ObserveAll from 'observe-all';
new ObserveAll({
onBlock: () => {
alert('Another tab is already open!');
},
});