mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-11 20:21:03 +00:00
Update chrome.js
This commit is contained in:
parent
2b5a4ad0ae
commit
59b1cb14ec
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user