From 0af55bfa52054096b4c7b2e1721c5fed49e291c4 Mon Sep 17 00:00:00 2001 From: pd4d10 Date: Fri, 3 Feb 2017 18:26:53 +0800 Subject: [PATCH] Fix anonymous reports option --- src/drivers/chrome/js/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/chrome/js/driver.js b/src/drivers/chrome/js/driver.js index 08948419f..4e539d3c2 100644 --- a/src/drivers/chrome/js/driver.js +++ b/src/drivers/chrome/js/driver.js @@ -217,7 +217,7 @@ * Anonymously track detected applications for research purposes */ ping: function() { - if ( Object.keys(w.ping.hostnames).length && localStorage['tracking'] ) { + if ( Object.keys(w.ping.hostnames).length && parseInt(localStorage['tracking'], 10) ) { w.driver.post('http://ping.wappalyzer.com/ping/v2/', w.ping); w.log('w.driver.ping: ' + JSON.stringify(w.ping));