Merge pull request #1334 from jvoisin/meta_property

Use `property` as `meta` key too
main
Elbert Alias 8 years ago committed by GitHub
commit b7009d3b93

@ -329,7 +329,7 @@ var wappalyzer = (function() {
for ( meta in w.apps[app][type] ) { for ( meta in w.apps[app][type] ) {
profiler.checkPoint(app, type, regexMeta); profiler.checkPoint(app, type, regexMeta);
if ( new RegExp('name=["\']' + meta + '["\']', 'i').test(match) ) { if ( new RegExp('(name|property)=["\']' + meta + '["\']', 'i').test(match) ) {
content = match.toString().match(/content=("|')([^"']+)("|')/i); content = match.toString().match(/content=("|')([^"']+)("|')/i);
parse(w.apps[app].meta[meta]).forEach(function(pattern) { parse(w.apps[app].meta[meta]).forEach(function(pattern) {

Loading…
Cancel
Save