mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 20:16:33 +02:00
parent
692b4616e2
commit
ec128796e3
18 changed files with 328 additions and 3 deletions
|
@ -83,6 +83,7 @@
|
|||
{mainFlag: "protectAudio", section: "Audio-API"},
|
||||
{mainFlag: "protectWindow", section: "Window-API"},
|
||||
{mainFlag: "protectDOMRect", section: "DOMRect-API"},
|
||||
{mainFlag: "protectTextMetrics", section: "TextMetrics-API"},
|
||||
{mainFlag: "protectNavigator", section: "Navigator-API"},
|
||||
{mainFlag: "protectScreen", section: "Screen-API"},
|
||||
].forEach(function(api){
|
||||
|
|
|
@ -619,6 +619,25 @@
|
|||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "TextMetrics-API",
|
||||
settings: [
|
||||
{
|
||||
"name": "protectTextMetrics"
|
||||
},
|
||||
{
|
||||
"name": "protectedAPIFeatures",
|
||||
"replaceKeyPattern": / @ .+$/,
|
||||
"displayedSection": "TextMetrics-API",
|
||||
"displayDependencies": [
|
||||
{
|
||||
"protectTextMetrics": [true],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
]
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "Navigator-API",
|
||||
settings: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue