Update chrome.js

This commit is contained in:
Namhyeon Go 2021-07-30 03:31:55 +09:00 committed by GitHub
parent 2b5a4ad0ae
commit 59b1cb14ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,11 +115,16 @@ var ChromeObject = function() {
// disable default browser check
cmd.push("--no-default-browser-check");
// disable popop blocking
cmd.push("--disable-popup-blocking");
// check incognito mode
if (this.inPrivate) {
cmd.push("--incognito");
}
// check debugging port
if (this.debuggingPort > 0) {
cmd.push("--remote-debugging-port=" + this.debuggingPort);
}