1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-06 02:42:33 +01:00
This commit is contained in:
Chris 2015-04-08 15:48:32 -06:00
parent 42dae93ff0
commit 09825e1165

View File

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