Use hostname instead of full URL

main
Elbert Alias 9 years ago
parent cdce395e67
commit 7ed96d0d7c

@ -5,10 +5,11 @@ var exports = {};
(function(exports) {
var utils = {
pageMeta: {
'url': window.location.href,
'referrer': window.document.referrer,
'rand': Math.floor(Math.random() * 10e12),
'startTime': new Date().getTime()
url: window.location.hostname,
isHP: window.location.pathname === '/',
referrer: window.document.referrer,
rand: Math.floor(Math.random() * 10e12),
startTime: new Date().getTime()
},
realArray: function(a) {

@ -508,8 +508,6 @@ var wappalyzer = (function() {
}
}
w.log('hostnames: ' + Object.keys(w.ping.hostnames).length); //
if ( Object.keys(w.ping.hostnames).length >= 20 ) {
driver('ping');
}

@ -508,8 +508,6 @@ var wappalyzer = (function() {
}
}
w.log('hostnames: ' + Object.keys(w.ping.hostnames).length); //
if ( Object.keys(w.ping.hostnames).length >= 20 ) {
driver('ping');
}

@ -508,8 +508,6 @@ var wappalyzer = (function() {
}
}
w.log('hostnames: ' + Object.keys(w.ping.hostnames).length); //
if ( Object.keys(w.ping.hostnames).length >= 20 ) {
driver('ping');
}