Fixed Google redirection issue, fixed false positives for d3

main
ElbertF 13 years ago
parent bcad9eb533
commit 8a418b8086

@ -67,7 +67,7 @@ if ( typeof wappalyzer != 'undefined' ) {
'CS Cart': { cats: { 1: 6 }, html: /&nbsp;Powered by (<a href=.http:\/\/www\.cs\-cart\.com|CS\-Cart)/i },
'CubeCart': { cats: { 1: 6 }, html: /Powered by <a href=.http:\/\/www\.cubecart\.com/i },
'cufon': { cats: { 1: 17 }, html: /(<script[^>]* src=("|')[^>]*cufon\-yui\.js|<script[^>]*>[^<]+Cufon\.now\(\))/i },
'd3': { cats: { 1: 25 }, html: /<script[^>]*src=[^>]+d3[^>]*\.js/i, env: '/^d3$/' },
'd3': { cats: { 1: 25 }, html: /<script[^>]*src=[^>]+d3(\.min)?\.js/i, env: '/^d3$/' },
'Danneo CMS': { cats: { 1: 1 }, html: /<meta name=("|')generator("|') [^>]+Danneo/i },
'DataLife Engine': { cats: { 1: 1 }, html: /<meta name=("|')generator("|') [^>]+DataLife Engine/i },
'DHTMLX': { cats: { 1: 12 }, html: /<script [^>]+dhtmlxcommon\.js/i },

@ -63,7 +63,7 @@
getEnvironmentVars: function() {
self.log('getEnvironmentVars');
if ( content.document.contentType != 'text/html' ) {
if ( content.document.contentType != 'text/html' || typeof content.document.html == 'undefined' ) {
return;
}