mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 21:00:23 +01:00
parent
4465ff8435
commit
8240bf6007
@ -12,7 +12,12 @@
|
||||
var canvas = false;
|
||||
var inDOM = null;
|
||||
if (context){
|
||||
if (context.nodeName === "CANVAS"){
|
||||
var nodeName;
|
||||
try {
|
||||
nodeName = context.nodeName
|
||||
}
|
||||
catch (e){}
|
||||
if (nodeName === "CANVAS"){
|
||||
canvas = context;
|
||||
}
|
||||
else if (
|
||||
|
Loading…
x
Reference in New Issue
Block a user