mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 04:40:20 +01:00
Proper screen api whitelisting
This commit is contained in:
parent
bf757a5431
commit
8e414becf0
@ -62,6 +62,12 @@
|
||||
whitelistValue: false,
|
||||
protectedValue: true
|
||||
},
|
||||
{
|
||||
title: extension.getTranslation("section_screen-api"),
|
||||
name: "protectScreen",
|
||||
whitelistValue: false,
|
||||
protectedValue: true
|
||||
},
|
||||
];
|
||||
|
||||
settings.onloaded(function(){
|
||||
|
@ -82,8 +82,8 @@
|
||||
domRect: {name: "protectDOMRect", value: false},
|
||||
history: {name: "historyLengthThreshold", value: 10000},
|
||||
navigator: {name: "protectNavigator", value: false},
|
||||
windows: {name: "protectWindow", value: false}
|
||||
|
||||
windows: {name: "protectWindow", value: false},
|
||||
screen: {name: "protectScreen", value: false},
|
||||
};
|
||||
return domainOrUrlPicker(
|
||||
domain,
|
||||
|
Loading…
x
Reference in New Issue
Block a user