From 1438a9f87e3e3f0aa33c6ec37657aff1234ccdc8 Mon Sep 17 00:00:00 2001 From: Elbert Alias Date: Fri, 24 Feb 2017 15:52:07 +1100 Subject: [PATCH] Don't output web page console logs in Phantom JS driver --- src/drivers/phantomjs/driver.js | 4 ---- src/drivers/phantomjs/package.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/drivers/phantomjs/driver.js b/src/drivers/phantomjs/driver.js index 3137a8489..06bb653fd 100644 --- a/src/drivers/phantomjs/driver.js +++ b/src/drivers/phantomjs/driver.js @@ -133,10 +133,6 @@ page.settings.userAgent = 'Mozilla/5.0 (compatible; Wappalyzer; +https://github.com/AliasIO/Wappalyzer)'; page.settings.resourceTimeout = resourceTimeout; - page.onConsoleMessage = function(message) { - require('system').stdout.write(message + "\n"); - }; - page.onError = function(message) { wappalyzer.log(message, 'error'); }; diff --git a/src/drivers/phantomjs/package.json b/src/drivers/phantomjs/package.json index d3201b69f..1d8d8efbd 100644 --- a/src/drivers/phantomjs/package.json +++ b/src/drivers/phantomjs/package.json @@ -2,7 +2,7 @@ "name": "wappalyzer", "description": "Uncovers the technologies used on websites", "homepage": "https://github.com/AliasIO/Wappalyzer", - "version": "3.0.6", + "version": "3.0.7", "author": "Elbert Alias", "license": "GPL-3.0", "repository": {