mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
Fixed image inspecting which was not working sometimes.
This commit is contained in:
parent
26176b50f8
commit
1a73fc90e4
@ -55,7 +55,10 @@ Promise.all([
|
||||
alert(parseErrorStack(errorStack));
|
||||
},
|
||||
inspectImage: function({dataURL}){
|
||||
document.body.innerHTML = "<img src=" + dataURL + ">";
|
||||
document.body.innerHTML = "";
|
||||
var img = document.createElement("img");
|
||||
img.src = dataURL;
|
||||
document.body.appendChild(img);
|
||||
},
|
||||
ignorelistDomain: function({url}){
|
||||
var domain = url.host;
|
||||
|
Loading…
x
Reference in New Issue
Block a user