mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 23:42:39 +01:00
Fixes #1144
This commit is contained in:
parent
42dae93ff0
commit
09825e1165
@ -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) {\
|
||||
|
Loading…
Reference in New Issue
Block a user