1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-01-08 20:54:49 +01:00

Fixed accidental blocking

See 
This commit is contained in:
kkapsner 2018-09-06 17:30:44 +02:00
parent bda97dbc38
commit d3d137beed

@ -400,9 +400,9 @@
];
function getStatus(obj, status){
function getStatus(obj, status, prefs){
status = Object.create(status);
status.active = hasType(status, "readout");
status.active = prefs("protectDOMRect", status.url) && hasType(status, "readout");
return status;
}