Do Not Track Web Browser Header
Do Not Track (DNT) is a completely optional HTTP header web browser can, but do not need to, send when they contact web servers and request web pages, images, video files and other elements. Web servers can care about this header or ignore it, check for it or ignore it and what, if anything, happens when the tag is present in a web browser header is completely optional.
People can tell websites that they would like to not be tracked by sending the DNT header along with their web requests.
Website operators can, but typically don't, do less logging, request that fewer web browser cookies are set and store less information in the database when a websites visitor sends a DNT header along with the HTTP requests.
Utilizing the DNT tag is entirely voluntary.
This site will not serve any third party advertising scripts if a Do-Not-Track header is sent along with a HTTP request.
Most other sites won't not care, not even a little, if a DNT header is present.
HOWTO Enable Or Disable Do-Not-Track In Common Web Browsers
Mozilla Firefox supports sending a Do-Not-Track header when it requests a web page but the functionality is not enabled by default. It can be turned on using the
about:preferences#privacy page found under ▸ ▸ . There you will find the option half-way down on that page. It should be set to instead of the default.
Chromium based browsers have the Do-Not-Track setting hidden under ▸ ▸ . Flip the switch to send a Do-Not-Track request to websites when it requests pages.
Falkon users can enable the Do Not Track headre in ▸ ▸ .
HOWTO Use The DNT Tag In PHP
You can simply check if
is set to true or not.
You can use the above code to test if DNT is enabled in the web browser you are using by visiting linuxreviews.org/dnt.php.