mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 13:41:05 +00:00
Update chrome.js
This commit is contained in:
parent
2b5a4ad0ae
commit
59b1cb14ec
|
@ -116,10 +116,15 @@ 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