diff --git a/index.html b/index.html new file mode 100644 index 0000000..5f82e3a --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + Millions + + +

We are millions
+ And millions are like one

+ +

ping

+ + + + \ No newline at end of file diff --git a/millions.js b/millions.js new file mode 100644 index 0000000..15e30bd --- /dev/null +++ b/millions.js @@ -0,0 +1,13 @@ +/* Milions non-tracking web counter/analytics */ +(function(){ + // https://github.com/simpleanalytics/scripts/blob/master/src/default.js + // https://docs.simpleanalytics.com/what-we-collect + // https://docs.simpleanalytics.com/uniques + + console.log('href', document.location.href); + console.log('ref', document.referrer); + console.log('DNT', "doNotTrack" in navigator && navigator["doNotTrack"] === "1"); + console.log('innerWidth', window.innerWidth); + console.log('UA', navigator.userAgent); + +})('localhost'); \ No newline at end of file