This commit is contained in:
Chris 2015-04-08 15:48:32 -06:00
parent 42dae93ff0
commit 09825e1165
1 changed files with 2 additions and 0 deletions

View File

@ -247,6 +247,7 @@ xo = XMLHttpRequest.prototype.open,\
img = Image;\ img = Image;\
Image = function() {\ Image = function() {\
var x = new img();\ var x = new img();\
try{\
Object.defineProperty(x, 'src', {\ Object.defineProperty(x, 'src', {\
get: function() {\ get: function() {\
return x.getAttribute('src');\ return x.getAttribute('src');\
@ -255,6 +256,7 @@ set: function(val) {\
x.setAttribute('src', block(val, 'image') ? 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=' : val);\ x.setAttribute('src', block(val, 'image') ? 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=' : val);\
}\ }\
});\ });\
}\catch(e){}\
return x;\ return x;\
};\ };\
open = function(u) {\ open = function(u) {\