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