phantalyzer
Version:
A PhantomJS script for running Wappalyzer over many sites using a headless Webkit browser
41 lines (33 loc) • 621 B
JavaScript
(function() {
if ( wappalyzer == null ) return;
var w = wappalyzer;
w.driver = {
/**
* Log messages to console
*/
log: function(args) {
if ( console != null ) console[args.type](args.message);
},
/**
* Initialize
*/
init: function() {
},
/**
* Display apps
*/
displayApps: function() {
//w.detected['http://slashdot.org'].map(function(app) {
//console.log('DETECTED APP');
//});
},
/**
* Go to URL
*/
goToURL: function(args) {
console.log('GOTO URL CALLED');
//window.open(args.url);
}
};
w.init();
})();