mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 05:31: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
|
// disable default browser check
|
||||||
cmd.push("--no-default-browser-check");
|
cmd.push("--no-default-browser-check");
|
||||||
|
|
||||||
|
// disable popop blocking
|
||||||
|
cmd.push("--disable-popup-blocking");
|
||||||
|
|
||||||
|
// check incognito mode
|
||||||
if (this.inPrivate) {
|
if (this.inPrivate) {
|
||||||
cmd.push("--incognito");
|
cmd.push("--incognito");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// check debugging port
|
||||||
if (this.debuggingPort > 0) {
|
if (this.debuggingPort > 0) {
|
||||||
cmd.push("--remote-debugging-port=" + this.debuggingPort);
|
cmd.push("--remote-debugging-port=" + this.debuggingPort);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user