Browse Source

always activate "--no-pings" switch

Gildas 6 years ago
parent
commit
b53f074c74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cli/back-ends/puppeteer.js

+ 1 - 1
cli/back-ends/puppeteer.js

@@ -58,8 +58,8 @@ exports.getPageData = async options => {
 	browserOptions.args = [];
 	if (options.browserDisableWebSecurity === undefined || options.browserDisableWebSecurity) {
 		browserOptions.args.push("--disable-web-security");
-		browserOptions.args.push("--no-pings");
 	}
+	browserOptions.args.push("--no-pings");
 	if (!options.browserHeadless && options.browserDebug) {
 		browserOptions.args.push("--auto-open-devtools-for-tabs");
 	}