mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 07:21:43 +00:00
Update chrome.js
This commit is contained in:
parent
ffbb560598
commit
ecf12aa83f
|
@ -699,9 +699,15 @@ var ChromeObject = function() {
|
|||
};
|
||||
|
||||
this.getTitle = function() {
|
||||
if (this.debuggingPort > 0) {
|
||||
return this.getEvaluatedValue('document.title');
|
||||
if (!(this.debuggingPort > 0))
|
||||
return;
|
||||
|
||||
var i = 0, k = 60, title = "";
|
||||
while (i < k && title == "") {
|
||||
title = this.getEvaluatedValue('document.title')
|
||||
}
|
||||
|
||||
return title;
|
||||
};
|
||||
|
||||
this.getScreenPosition = function() {
|
||||
|
@ -1406,7 +1412,7 @@ exports.startDebugInPrivate = function(url, proxy, profileName, debuggingPort, i
|
|||
;
|
||||
};
|
||||
|
||||
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.4.10";
|
||||
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.4.11";
|
||||
exports.AUTHOR = "abuse@catswords.net";
|
||||
exports.global = global;
|
||||
exports.require = global.require;
|
||||
|
|
Loading…
Reference in New Issue
Block a user