Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@mozmeao/dnt-helper
Advanced tools
A helper that returns true or false based on whether doNotTrack is enabled on the browser.
A helper that returns true or false based on whether doNotTrack
is enabled on the browser. For more general information on DNT, visit MDN.
Install via npm: npm install @mozmeao/dnt-helper
Import the library at your applications entrypoint via require, import, or by using a global variable in your script tag:
import dntHelper from '@mozmeao/dnt-helper';
const dntHelper = require('@mozmeao/dnt-helper')
const dntHelper = window.dntHelper
git clone https://github.com/mozmeao/dnt-helper.git
cd
into dnt-helper
npm install
cd
into demo
npm install
npm start
The purpose of the demo is just to show if your browser has DNT enabled or disabled.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
FAQs
A helper that returns true or false based on whether doNotTrack is enabled on the browser.
The npm package @mozmeao/dnt-helper receives a total of 170 weekly downloads. As such, @mozmeao/dnt-helper popularity was classified as not popular.
We found that @mozmeao/dnt-helper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.