Updated tracking, Chartbeat icon

main
ElbertF 12 years ago
parent 0520cae765
commit ae80ef65aa

@ -205,7 +205,7 @@ var wappalyzer = wappalyzer || (function() {
w.log(apps.length + ' apps detected: ' + apps.join(', '));
// Keep history of detected apps
var i, app;
var i, app, match;
for ( i in apps ) {
app = apps[i];
@ -217,7 +217,7 @@ var wappalyzer = wappalyzer || (function() {
}
if ( typeof w.ping.hostnames[hostname] === 'undefined' ) {
w.ping.hostnames[hostname] = { applications: {} };
w.ping.hostnames[hostname] = { applications: {}, meta: {} };
}
if ( typeof w.ping.hostnames[hostname].applications[app] === 'undefined' ) {
@ -225,13 +225,24 @@ var wappalyzer = wappalyzer || (function() {
}
w.ping.hostnames[hostname].applications[app] ++;
if ( Object.keys(w.ping.hostnames).length >= 200 ) { driver('ping'); }
}
// Per URL
if ( w.detected[url].indexOf(app) === -1 ) { w.detected[url].push(app); }
};
}
// Additional information
if ( typeof w.ping.hostnames !== 'undefined' && typeof w.ping.hostnames[hostname] !== 'undefined' ) {
if ( data.html != null ) {
match = data.html.match(/<html[^>]*[: ]lang="([^"]+)"/);
if ( match != null && match.length ) {
w.ping.hostnames[hostname].meta['language'] = match[1];
}
}
}
if ( w.ping.hostnames != null && Object.keys(w.ping.hostnames).length >= 200 ) { driver('ping'); }
apps = null;
data = null;

@ -3,7 +3,7 @@
init: function() {
c.log('init');
chrome.extension.sendRequest({ id: 'analyze', subject: { html: document.documentElement.innerHTML } });
chrome.extension.sendRequest({ id: 'analyze', subject: { html: document.documentElement.outerHTML } });
c.getEnvironmentVars();
},

@ -205,7 +205,7 @@ var wappalyzer = wappalyzer || (function() {
w.log(apps.length + ' apps detected: ' + apps.join(', '));
// Keep history of detected apps
var i, app;
var i, app, match;
for ( i in apps ) {
app = apps[i];
@ -217,7 +217,7 @@ var wappalyzer = wappalyzer || (function() {
}
if ( typeof w.ping.hostnames[hostname] === 'undefined' ) {
w.ping.hostnames[hostname] = { applications: {} };
w.ping.hostnames[hostname] = { applications: {}, meta: {} };
}
if ( typeof w.ping.hostnames[hostname].applications[app] === 'undefined' ) {
@ -225,13 +225,24 @@ var wappalyzer = wappalyzer || (function() {
}
w.ping.hostnames[hostname].applications[app] ++;
if ( Object.keys(w.ping.hostnames).length >= 200 ) { driver('ping'); }
}
// Per URL
if ( w.detected[url].indexOf(app) === -1 ) { w.detected[url].push(app); }
};
}
// Additional information
if ( typeof w.ping.hostnames !== 'undefined' && typeof w.ping.hostnames[hostname] !== 'undefined' ) {
if ( data.html != null ) {
match = data.html.match(/<html[^>]*[: ]lang="([^"]+)"/);
if ( match != null && match.length ) {
w.ping.hostnames[hostname].meta['language'] = match[1];
}
}
}
if ( w.ping.hostnames != null && Object.keys(w.ping.hostnames).length >= 200 ) { driver('ping'); }
apps = null;
data = null;

@ -1,7 +1,7 @@
{ "name": "Wappalyzer",
"homepage_url": "http://wappalyzer.com",
"description": "Identifies software on the web",
"version": "2.5",
"version": "2.6",
"default_locale": "en",
"manifest_version": 2,
"icons": {

@ -205,7 +205,7 @@ var wappalyzer = wappalyzer || (function() {
w.log(apps.length + ' apps detected: ' + apps.join(', '));
// Keep history of detected apps
var i, app;
var i, app, match;
for ( i in apps ) {
app = apps[i];
@ -217,7 +217,7 @@ var wappalyzer = wappalyzer || (function() {
}
if ( typeof w.ping.hostnames[hostname] === 'undefined' ) {
w.ping.hostnames[hostname] = { applications: {} };
w.ping.hostnames[hostname] = { applications: {}, meta: {} };
}
if ( typeof w.ping.hostnames[hostname].applications[app] === 'undefined' ) {
@ -225,13 +225,24 @@ var wappalyzer = wappalyzer || (function() {
}
w.ping.hostnames[hostname].applications[app] ++;
if ( Object.keys(w.ping.hostnames).length >= 200 ) { driver('ping'); }
}
// Per URL
if ( w.detected[url].indexOf(app) === -1 ) { w.detected[url].push(app); }
};
}
// Additional information
if ( typeof w.ping.hostnames !== 'undefined' && typeof w.ping.hostnames[hostname] !== 'undefined' ) {
if ( data.html != null ) {
match = data.html.match(/<html[^>]*[: ]lang="([^"]+)"/);
if ( match != null && match.length ) {
w.ping.hostnames[hostname].meta['language'] = match[1];
}
}
}
if ( w.ping.hostnames != null && Object.keys(w.ping.hostnames).length >= 200 ) { driver('ping'); }
apps = null;
data = null;

@ -3,7 +3,7 @@
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>wappalyzer@crunchlabz.com</em:id>
<em:version>2.3.0</em:version>
<em:version>2.3.1</em:version>
<em:type>2</em:type>
<em:unpack>true</em:unpack>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

@ -205,7 +205,7 @@ var wappalyzer = wappalyzer || (function() {
w.log(apps.length + ' apps detected: ' + apps.join(', '));
// Keep history of detected apps
var i, app;
var i, app, match;
for ( i in apps ) {
app = apps[i];
@ -217,7 +217,7 @@ var wappalyzer = wappalyzer || (function() {
}
if ( typeof w.ping.hostnames[hostname] === 'undefined' ) {
w.ping.hostnames[hostname] = { applications: {} };
w.ping.hostnames[hostname] = { applications: {}, meta: {} };
}
if ( typeof w.ping.hostnames[hostname].applications[app] === 'undefined' ) {
@ -225,13 +225,24 @@ var wappalyzer = wappalyzer || (function() {
}
w.ping.hostnames[hostname].applications[app] ++;
if ( Object.keys(w.ping.hostnames).length >= 200 ) { driver('ping'); }
}
// Per URL
if ( w.detected[url].indexOf(app) === -1 ) { w.detected[url].push(app); }
};
}
// Additional information
if ( typeof w.ping.hostnames !== 'undefined' && typeof w.ping.hostnames[hostname] !== 'undefined' ) {
if ( data.html != null ) {
match = data.html.match(/<html[^>]*[: ]lang="([^"]+)"/);
if ( match != null && match.length ) {
w.ping.hostnames[hostname].meta['language'] = match[1];
}
}
}
if ( w.ping.hostnames != null && Object.keys(w.ping.hostnames).length >= 200 ) { driver('ping'); }
apps = null;
data = null;

@ -205,7 +205,7 @@ var wappalyzer = wappalyzer || (function() {
w.log(apps.length + ' apps detected: ' + apps.join(', '));
// Keep history of detected apps
var i, app;
var i, app, match;
for ( i in apps ) {
app = apps[i];
@ -217,7 +217,7 @@ var wappalyzer = wappalyzer || (function() {
}
if ( typeof w.ping.hostnames[hostname] === 'undefined' ) {
w.ping.hostnames[hostname] = { applications: {} };
w.ping.hostnames[hostname] = { applications: {}, meta: {} };
}
if ( typeof w.ping.hostnames[hostname].applications[app] === 'undefined' ) {
@ -225,13 +225,24 @@ var wappalyzer = wappalyzer || (function() {
}
w.ping.hostnames[hostname].applications[app] ++;
if ( Object.keys(w.ping.hostnames).length >= 200 ) { driver('ping'); }
}
// Per URL
if ( w.detected[url].indexOf(app) === -1 ) { w.detected[url].push(app); }
};
}
// Additional information
if ( typeof w.ping.hostnames !== 'undefined' && typeof w.ping.hostnames[hostname] !== 'undefined' ) {
if ( data.html != null ) {
match = data.html.match(/<html[^>]*[: ]lang="([^"]+)"/);
if ( match != null && match.length ) {
w.ping.hostnames[hostname].meta['language'] = match[1];
}
}
}
if ( w.ping.hostnames != null && Object.keys(w.ping.hostnames).length >= 200 ) { driver('ping'); }
apps = null;
data = null;