1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-15 14:09:36 +02:00

Added protection for audio API

This commit is contained in:
kkapsner 2018-06-16 00:22:31 +02:00
parent 032bc2e424
commit 0f0f526fd5
8 changed files with 397 additions and 10 deletions

View file

@ -67,7 +67,10 @@
"toDataURL", "toBlob", "mozGetAsFile", "getImageData",
"isPointInPath", "isPointInStroke",
"fillText", "strokeText",
"readPixels"
"readPixels",
"getFloatFrequencyData", "getByteFrequencyData", "getFloatTimeDomainData", "getByteTimeDomainData",
"getChannelData", "copyFromChannel",
"getFrequencyResponse"
],
defaultKeyValue: false
},
@ -155,6 +158,20 @@
name: "stackList",
defaultValue: ""
},
{
name: "protectAudio",
defaultValue: true
},
{
name: "audioFakeRate",
defaultValue: "10",
options: ["1", "10", "100", "1000", "0.1%", "1%"]
},
{
name: "audioNoiseLevel",
defaultValue: "low",
options: ["minimal", "low", "medium", "high", "maximal"]
},
{
name: "displayAdvancedSettings",
defaultValue: false