mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-11-27 18:11:20 +00:00
Update chrome.js
This commit is contained in:
parent
9b6270ff72
commit
2aa6fdc256
|
|
@ -320,8 +320,10 @@ var ChromeObject = function() {
|
||||||
cmd.push("\"--user-agent=" + this.userAgent + "\"");
|
cmd.push("\"--user-agent=" + this.userAgent + "\"");
|
||||||
}
|
}
|
||||||
|
|
||||||
// disable an unwanted features
|
// disable unwanted features
|
||||||
cmd.push("--disable-features=" + this.disableFeatures.join(','));
|
if (this.disableFeatures.length > 0) {
|
||||||
|
cmd.push("\"--disable-features=" + this.disableFeatures.join(',') + "\"");
|
||||||
|
}
|
||||||
|
|
||||||
// set the URL
|
// set the URL
|
||||||
cmd.push((this.isAppMode ? "--app=\"" : "\"") + url + "\"");
|
cmd.push((this.isAppMode ? "--app=\"" : "\"") + url + "\"");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user