Merge pull request #1338 from pd4d10/patch-1

Fix anonymous reports option in Chrome
main
Elbert Alias 8 years ago committed by GitHub
commit cd03bd0da6

@ -217,7 +217,7 @@
* Anonymously track detected applications for research purposes * Anonymously track detected applications for research purposes
*/ */
ping: function() { 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.driver.post('http://ping.wappalyzer.com/ping/v2/', w.ping);
w.log('w.driver.ping: ' + JSON.stringify(w.ping)); w.log('w.driver.ping: ' + JSON.stringify(w.ping));

Loading…
Cancel
Save