mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-05-16 17:33:23 +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
@ -28,7 +28,7 @@
|
|||||||
askFunctionName,
|
askFunctionName,
|
||||||
{
|
{
|
||||||
value: getContext,
|
value: getContext,
|
||||||
enumerabe: false
|
enumerable: false
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
unsafeWindow.HTMLCanvasElement.prototype.getContext = new unsafeWindow.Function(
|
unsafeWindow.HTMLCanvasElement.prototype.getContext = new unsafeWindow.Function(
|
||||||
@ -66,7 +66,7 @@
|
|||||||
askFunctionName,
|
askFunctionName,
|
||||||
{
|
{
|
||||||
value: getContext,
|
value: getContext,
|
||||||
enumerabe: false
|
enumerable: false
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
unsafeWindow.HTMLCanvasElement.prototype.getContext = new unsafeWindow.Function(
|
unsafeWindow.HTMLCanvasElement.prototype.getContext = new unsafeWindow.Function(
|
||||||
@ -113,4 +113,4 @@
|
|||||||
self.port.on("askInvisible", askInvisible);
|
self.port.on("askInvisible", askInvisible);
|
||||||
self.port.on("unblock", unblock);
|
self.port.on("unblock", unblock);
|
||||||
self.port.on("detach", unblock);
|
self.port.on("detach", unblock);
|
||||||
}());
|
}());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user