3 lines
296 B
JavaScript
3 lines
296 B
JavaScript
try {
|
|
if (Object.keys(Object.getPrototypeOf(navigator)).join(' ').match(/\bbrave\b/)) { document .cookie = 'us=1;path=/;max-age=86400'; document.location.href='/unsupported-browser'; }
|
|
} catch(e) { document .cookie = 'us=1;path=/;max-age=86400'; document.location.href='/unsupported-browser'; } |