mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-31 09:01:56 +01:00
parent
97c50e8761
commit
89124235c0
@ -159,7 +159,6 @@
|
||||
function createCheckerCallback(property){
|
||||
return function(args, check){
|
||||
const {prefs, notify, window, original} = check;
|
||||
const originalValue = original.apply(this, window.Array.from(args));
|
||||
if (prefs("protectDOMRect", window.location)){
|
||||
const registration = getDOMRectRegistration(this);
|
||||
if (registration){
|
||||
@ -167,6 +166,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
const originalValue = original.apply(this, window.Array.from(args));
|
||||
return originalValue;
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user