mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-15 14:09:36 +02:00
parent
97c50e8761
commit
89124235c0
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,6 @@
|
||||||
function createCheckerCallback(property){
|
function createCheckerCallback(property){
|
||||||
return function(args, check){
|
return function(args, check){
|
||||||
const {prefs, notify, window, original} = check;
|
const {prefs, notify, window, original} = check;
|
||||||
const originalValue = original.apply(this, window.Array.from(args));
|
|
||||||
if (prefs("protectDOMRect", window.location)){
|
if (prefs("protectDOMRect", window.location)){
|
||||||
const registration = getDOMRectRegistration(this);
|
const registration = getDOMRectRegistration(this);
|
||||||
if (registration){
|
if (registration){
|
||||||
|
@ -167,6 +166,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const originalValue = original.apply(this, window.Array.from(args));
|
||||||
return originalValue;
|
return originalValue;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue