mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 21:51:04 +00:00
Update chrome.js
This commit is contained in:
parent
ffbb560598
commit
ecf12aa83f
|
@ -699,9 +699,15 @@ var ChromeObject = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
this.getTitle = function() {
|
this.getTitle = function() {
|
||||||
if (this.debuggingPort > 0) {
|
if (!(this.debuggingPort > 0))
|
||||||
return this.getEvaluatedValue('document.title');
|
return;
|
||||||
|
|
||||||
|
var i = 0, k = 60, title = "";
|
||||||
|
while (i < k && title == "") {
|
||||||
|
title = this.getEvaluatedValue('document.title')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return title;
|
||||||
};
|
};
|
||||||
|
|
||||||
this.getScreenPosition = function() {
|
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.AUTHOR = "abuse@catswords.net";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user