mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
parent
e549267085
commit
5a1a318b91
@ -205,6 +205,7 @@
|
|||||||
const wrappedObject = scope.getWrapped(window).Object;
|
const wrappedObject = scope.getWrapped(window).Object;
|
||||||
const handler = wrappedObject.create(null);
|
const handler = wrappedObject.create(null);
|
||||||
handler.apply = scope.exportFunctionWithName(function(target, thisArg, args){
|
handler.apply = scope.exportFunctionWithName(function(target, thisArg, args){
|
||||||
|
args = scope.getWrapped(args);
|
||||||
try {
|
try {
|
||||||
return args.length?
|
return args.length?
|
||||||
replacement.call(thisArg, ...args):
|
replacement.call(thisArg, ...args):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user