puppeteer-extra-plugin-stealth
Advanced tools
Comparing version 2.7.3 to 2.7.4
@@ -30,9 +30,9 @@ 'use strict' | ||
// If disable-blink-features is already passed, append the AutomationControlled switch | ||
options.args.forEach(e => { | ||
if (e.startsWith('--disable-blink-features=')) { | ||
e += ',AutomationControlled' | ||
return // eslint-disable-line | ||
} | ||
}) | ||
options.args.push(`--disable-blink-features=AutomationControlled`) | ||
const idx = options.args.findIndex((arg) => arg.startsWith('--disable-blink-features=')); | ||
if (idx !== -1) { | ||
const arg = options.args[idx]; | ||
options.args[idx] = `${arg},AutomationControlled`; | ||
} else { | ||
options.args.push('--disable-blink-features=AutomationControlled'); | ||
} | ||
} | ||
@@ -39,0 +39,0 @@ } |
{ | ||
"name": "puppeteer-extra-plugin-stealth", | ||
"version": "2.7.3", | ||
"version": "2.7.4", | ||
"description": "Stealth mode: Applies various techniques to make detection of headless puppeteer harder.", | ||
@@ -56,5 +56,5 @@ "main": "index.js", | ||
"puppeteer-extra-plugin": "^3.1.8", | ||
"puppeteer-extra-plugin-user-preferences": "^2.2.10" | ||
"puppeteer-extra-plugin-user-preferences": "^2.2.11" | ||
}, | ||
"gitHead": "3765d1e35dd63f894897b722dbb4cff2efce3d90" | ||
"gitHead": "6701dd88089e19abd18d58d59c121fa346d43c07" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
718759