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