mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-09 13:16:05 +00:00
Update chrome.js
This commit is contained in:
parent
3ea5b32d62
commit
ae0cba0117
|
@ -1174,6 +1174,10 @@ var ChromeObject = function(interfaces) {
|
||||||
};
|
};
|
||||||
|
|
||||||
this.__escape = function(value) {
|
this.__escape = function(value) {
|
||||||
|
var pos = value.indexOf("__escaped:");
|
||||||
|
if (pos === 0)
|
||||||
|
return 'decodeURIComponent("' + value.substring(10) + '")';
|
||||||
|
else
|
||||||
return 'decodeURIComponent("' + encodeURIComponent(value) + '")';
|
return 'decodeURIComponent("' + encodeURIComponent(value) + '")';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user