New advanced settings: block domains

This commit is contained in:
Gaël Métais
2016-03-21 21:28:17 +02:00
parent f843184970
commit 3948eeaad4
8 changed files with 63 additions and 22 deletions
+3 -1
View File
@@ -31,12 +31,14 @@ var PhantomasWrapper = function() {
'cookie': task.options.cookie,
'auth-user': task.options.authUser,
'auth-pass': task.options.authPass,
'block-domain': task.options.blockDomain,
'allow-domain': task.options.allowDomain,
'no-externals': task.options.noExternals,
// Mandatory
'reporter': 'json:pretty',
'analyze-css': true,
'skip-modules': [
'blockDomains', // not needed
'domHiddenContent', // overriden
'domMutations', // not compatible with webkit
'domQueries', // overriden