Don't output web page console logs in Phantom JS driver

main
Elbert Alias 8 years ago
parent 8450fd2473
commit 1438a9f87e

@ -133,10 +133,6 @@
page.settings.userAgent = 'Mozilla/5.0 (compatible; Wappalyzer; +https://github.com/AliasIO/Wappalyzer)'; page.settings.userAgent = 'Mozilla/5.0 (compatible; Wappalyzer; +https://github.com/AliasIO/Wappalyzer)';
page.settings.resourceTimeout = resourceTimeout; page.settings.resourceTimeout = resourceTimeout;
page.onConsoleMessage = function(message) {
require('system').stdout.write(message + "\n");
};
page.onError = function(message) { page.onError = function(message) {
wappalyzer.log(message, 'error'); wappalyzer.log(message, 'error');
}; };

@ -2,7 +2,7 @@
"name": "wappalyzer", "name": "wappalyzer",
"description": "Uncovers the technologies used on websites", "description": "Uncovers the technologies used on websites",
"homepage": "https://github.com/AliasIO/Wappalyzer", "homepage": "https://github.com/AliasIO/Wappalyzer",
"version": "3.0.6", "version": "3.0.7",
"author": "Elbert Alias", "author": "Elbert Alias",
"license": "GPL-3.0", "license": "GPL-3.0",
"repository": { "repository": {

Loading…
Cancel
Save