1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-06-05 21:07:50 +02:00

Fixed accidental blocking

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

View File

@ -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;
}