-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: Remove 'dnt_helper.js' #22595
doc: Remove 'dnt_helper.js' #22595
Conversation
I wonder if the file can be removed entirely and any calls to This file seems to exist mostly for operating systems and browsers we probably don't need to take particular care in accommodating. (Windows NT 6.1??!! Firefox 31??!!) To get an idea of just how broadly the Do Not Track API is supported on current browsers: https://caniuse.com/#search=dnt and click "Show All": Note that even for browsers that show red in that chart, it's not a problem. It just means the browsers don't support Do Not Track, which just means it will never be enabled on those browsers and that's OK. We'll just get the falsy |
@nodejs/website on my previous comment ^^^^^^^ |
This change will disable analytics on IE versions that break the spec and default DNT to enabled (previously the helper ignored those). That should be fine, I guess. I have another (unrelated here) question about analytics though. I remember claims that it will improve docs back when it was added. |
This is Windows 7 which still has a considerable userbase.
The question is: Who has access to this analytics account and are they actively looking at the data? If not, I suggest dropping it entirely. |
Stats for last month (65% of the Visitors use any version of Windows):
Browsers used by Windows visitors:
@silverwind Anything else you need? |
@fhemberger thanks, no it's fine to keep if we use this data. The current PR should cover IE9 and up, seems good enough and a nice simplification over the previous checks. |
This file is totally useless, because it's an inner-used helper that is for publishment of doc files.
Landed in ec75ba6 |
This file is totally useless, because it's an inner-used helper that is for publishment of doc files. PR-URL: #22595 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This file is totally useless, because it's an inner-used helper that is for publishment of doc files. PR-URL: #22595 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Thanks! |
This file is totally useless, because it's an inner-used helper that is for publishment of doc files. PR-URL: #22595 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This file is totally useless, because it's an inner-used helper that is for publishment of doc files. PR-URL: #22595 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This file is totally useless, because it's an inner-used helper that is for publishment of doc files.
make -j4 test
(UNIX), orvcbuild test
(Windows) passes