is-dnt::detective:检查是否在用户浏览器中启用了不跟踪(DNT)策略

时间:2024-02-26 01:56:47
【文件属性】:

文件名称:is-dnt::detective:检查是否在用户浏览器中启用了不跟踪(DNT)策略

文件大小:6KB

文件格式:ZIP

更新时间:2024-02-26 01:56:47

firefox npm settings chrome privacy

is-dnt 检查是否在用户浏览器中启用了“不跟踪(DNT)”策略 强调 支持所有主流浏览器(来自Internet Explorer 6) 0个依赖项 用TypeScript编写 安装 $ npm install is-dnt 用法 const isDnt = require ( 'is-dnt' ) ; isDnt ( ) ; //=> true API isDnt() 返回一个boolean的待办事项是否不跟踪启用策略并undefined ,如果浏览器不支持DNT。 注意 该软件包使用了在他的“ 文章中描述的解决方案。 执照 麻省理工学院:copyright:


【文件预览】:
is-dnt-master
----.gitignore(943B)
----package.json(1KB)
----.npmrc(18B)
----src()
--------index.ts(1KB)
----.travis.yml(36B)
----LICENSE(1KB)
----tsconfig.json(205B)
----.github()
--------funding.yml(81B)
----test.ts(2KB)
----readme.md(1011B)
----.editorconfig(175B)

网友评论