1.0.0 • Published 1 year ago
nopopup v1.0.0
⚙️ Installation
npm i nopopup
CDN Links:
📖 Usage
◉ Import
// ES6
import nopopup from "nopopup";
// commonjs
const nopopup = require("nopopup");
◉ Disable all popup boxes
import nopopup from "nopopup";
nopopup();
// Test it!
alert('hello');
confirm('world');
◉ Disable specific popup boxes
import nopopup from "nopopup";
nopopup(["alert"]);
// Test it!
alert('hello');
confirm('world');
1.0.0
1 year ago