UNPKG

3rd-cookie-check

Version:

Check if current browser is blocking 3rd party cookies or not

21 lines (20 loc) 645 B
<html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" /> <title>TEST PAGE</title> <script src="dist/index.js"></script> <script type="text/javascript"> console.log({ cookieCheck }) cookieCheck().then((result) => { console.log({ result }) // alert(result.toString()); }) </script> </head> <body></body> </html>