mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-06-18 02:59:04 +00:00
Update chrome.js
This commit is contained in:
parent
939121321e
commit
0512d35c24
|
@ -460,6 +460,11 @@ var ChromeObject = function() {
|
||||||
return isChecked;
|
return isChecked;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.getCurrentUrl = function() {
|
||||||
|
var response = this.evaluate('location.href');
|
||||||
|
return JSON.parse(response).result.result.value;
|
||||||
|
};
|
||||||
|
|
||||||
this.create();
|
this.create();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user