Update chrome.js

This commit is contained in:
Namhyeon Go 2021-08-17 05:24:59 +09:00 committed by GitHub
parent 052c2eb07d
commit 4709f22bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);