mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 08:55:14 +00:00
Update chrome.js
This commit is contained in:
parent
052c2eb07d
commit
4709f22bcf
|
@ -148,6 +148,11 @@ var ChromeObject = function() {
|
|||
this.inPrivate = flag;
|
||||
return this;
|
||||
};
|
||||
|
||||
this.clearCacheDirectory = function() {
|
||||
var FN = SHELL.getPathOfMyDocuments() + "\\UserData_Chrome_" + this.profileName + "\\" + this.profileName + "\\Cache";
|
||||
return FILE.deleteFolder(FN);
|
||||
};
|
||||
|
||||
this.open = function(url) {
|
||||
this.setProfile(this.profileName, this.installedDir);
|
||||
|
|
Loading…
Reference in New Issue
Block a user