From ab30aae08e8907099fa70aff523582766402b82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Fri, 9 Jan 2015 18:52:10 +0100 Subject: [PATCH] Re-introduce fake user-agent --- lib/tools/phantomas/phantomasWrapper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tools/phantomas/phantomasWrapper.js b/lib/tools/phantomas/phantomasWrapper.js index c25c67f..bdef3d7 100644 --- a/lib/tools/phantomas/phantomasWrapper.js +++ b/lib/tools/phantomas/phantomasWrapper.js @@ -26,6 +26,7 @@ var PhantomasWrapper = function() { // Cusomizable options timeout: task.options.timeout || 60, 'js-deep-analysis': task.options.jsDeepAnalysis || false, + 'user-agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36', // Mandatory reporter: 'json:pretty',