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