1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-23 05:10:27 +01:00

Allow the page scripts to overwrite the faked functions.

Fixes #121
This commit is contained in:
kkapsner 2017-06-29 07:31:55 +02:00
parent 5cec9781c2
commit 067ec6954c

View File

@ -99,6 +99,13 @@
else { else {
return original; return original;
} }
}, window),
set: exportFunction(function(value){
Object.defineProperty(
constructor.prototype,
name,
{value}
);
}, window) }, window)
} }
); );