mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-15 14:09:36 +02:00
Change enumerabe to enumerable
The default is false, so the typo had no impact. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty
This commit is contained in:
parent
40d059311a
commit
86945ac563
1 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
|||
askFunctionName,
|
||||
{
|
||||
value: getContext,
|
||||
enumerabe: false
|
||||
enumerable: false
|
||||
}
|
||||
);
|
||||
unsafeWindow.HTMLCanvasElement.prototype.getContext = new unsafeWindow.Function(
|
||||
|
@ -66,7 +66,7 @@
|
|||
askFunctionName,
|
||||
{
|
||||
value: getContext,
|
||||
enumerabe: false
|
||||
enumerable: false
|
||||
}
|
||||
);
|
||||
unsafeWindow.HTMLCanvasElement.prototype.getContext = new unsafeWindow.Function(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue