UNPKG

ovpjs

Version:

OverpoweredJS is a browser fingerprinting API designed to identify and track browser instances. It helps website operators distinguish unique users, detect potential bots and enhance website security.

17 lines (13 loc) 433 B
async function ovpjs(args) { if (!window) { throw new Error('OverpoweredJS: window and/or document object not found. Only run in a browser environment. Other contexts are not supported.') } try { const response = await fetch('https://api.ovpjs.com/ovpjs.min.js') new Function(await response.text()) } catch (e) { args.onError && args.onError(e) } return window.ovpjs(...args) } export default ovpjs;