Current collected state Current
Observed since 20 Oct, 19:51 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
3rd-cookie-check
Check cookie
This is a library that help you check current browser support "Third party cookie" or not
For anyone encounter issue like this in version 2.0.0. Their are 2 solutions:
2.0.3).iframeSrccookieCheck({
iframeSrc: 'https://davidtranjs.github.io/3rd-cookie-check/readcookie.html'
}).then(function(result) {
const { supported, timeout } = result;
// Your code here
})
# npm
npm install --save 3rd-cookie-check`
# or yarn
yarn add 3rd-cookie-check
import cookieCheck from '3rd-cookie-check';
cookieCheck().then(function(result) {
const { supported, timeout } = result;
// Your code here
})
cookieCheck(parametersObject)
All parameters is optional
| Param | Type | Describe | Default value |
|---|---|---|---|
| timeout | number | Timeout in milisecond | 1000 |
| eventCode | object | { supported: string, unsupported: string } Use this when use need to change the browser event message for third party cookie feature | { |
| iframeSrc | string | In case you need to use your own page for check cookie This URL domain must be difference from your app domain, this make sure browser fire third cookie event message | https://davidtranjs.github.io/3rd-cookie-check/checkpage.html |
An Promise that resolve with a object have 2 properties:
supported - boolean - indicate browser support status. Return false if timeouttimeout - boolean - default false - true if timeout was triggered1.0.1
1.0.2
2.0.0
iframeSrc parameter2.0.3
iframeSrc as I changed my github username from dungmidside to davidtranjs2.0.4
iframeSrcDownload counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
prettierEnvironment{
"local_name": "prettier",
"alias": false,
"peer_metadata": null
} | 2.2.1 | development |
ts-loaderEnvironment{
"local_name": "ts-loader",
"alias": false,
"peer_metadata": null
} | ^9.1.2 | development |
typescriptEnvironment{
"local_name": "typescript",
"alias": false,
"peer_metadata": null
} | ^4.2.4 | development |
webpackEnvironment{
"local_name": "webpack",
"alias": false,
"peer_metadata": null
} | ^5.36.2 | development |
webpack-cliEnvironment{
"local_name": "webpack-cli",
"alias": false,
"peer_metadata": null
} | ^4.7.0 | development |
Source distribution
{
"integrity": "sha512-MR8j/eoyTDlWWwnT7rkBVLzA1KPci84oyhewDCjwt1/Gp5o+2+hCLzONaLG5JqF7yohuH6yi/yrMI9KEppxAgw==",
"shasum": "9e6332635b7637190014e504b0ea9758158a2def",
"tarball": "https://registry.npmjs.org/3rd-cookie-check/-/3rd-cookie-check-2.0.0.tgz",
"fileCount": 14,
"unpackedSize": 74971,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgn25lCRA9TVsSAnZWagAAsLIP/25NhjYhf6ZtGIDxnlMw\nbRdZEyoBMJuQ80BWBPMfRHea04vgnrypQIChpCWtALrWaFGzAqv5aw8lBepr\nv/xm+9sDkAkNW3Y3N9IUuHp9GCUoCLuGtSxUTZGhwTOnG8PzgGAsbWfrS0Kf\n1TKmMpTFhsef5Bpho7GP2KHyYuTEcgtOBOzuRBk4kpTdK0Bk0hAVjeVAtuIp\n6sHK9h4xSslC6wdD+L+G40uZiZlCQzu4H3aPs3vXKRfHTexK+v3Xlane6J0L\nNDC4B/oacA7WD2VIFuMtL9FN5q96s97plOtTZVW8O/puq0tgEavQYSuoTsRN\nK/oHnqGWS2z32fx/H4rXYmJNMH/0/41buuFrm4BR+wc2CPkoYDCP85PS4ubg\nObtNV515WbhGRUjYz9Sqi4BofewO9HWN599wbIFvF8wxZk555xnNfcTM0qLa\nlpp2OR2tnmsM2egUhhMFPmRJdRo92idEnw+NfnYGagoU3eMUXpg+CYK01IKt\nXMoDOPj2h99YBFrZ5+X7Haky4Eh2BPc9GSnoGNNPSedLZam5aKgIqBOy17BX\nq+pLysEAKbgikbhqkS0+ZZ6uStM3RzwfYgmNkjJn6jF4M+5uXtHDBqhiVr8W\nddVDnZkYyOaOJm0OhkCCJHH7mXT1nlURydVwDVkyQlVXAixtPBnLWNQd+mzl\nOsqT\r\n=v7cX\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIBmx/RNSluNrbt0IuL+U4eThAaPCPsfe/eHsOcfdDLriAiBcF4mz9YjY3vdU2CYrjakfo2O1WlWHBGo4EsapFvkkhQ=="
}
]
}Shared repository data · GitHub
Shared repository data · GitHub
Observed since 20 Oct, 19:51 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:07b23cb489c202b37473afed8ea4d35edcfde698cfefe74da9f4451c506b86c2