Add restricted whitelist mode

This commit is contained in:
hensm
2020-06-28 00:14:36 +01:00
parent 5cf92df3ba
commit 18204f225f
6 changed files with 174 additions and 95 deletions

View File

@@ -30,6 +30,7 @@ export interface Options {
receiverSelectorCloseIfFocusLost: boolean;
receiverSelectorWaitForConnection: boolean;
userAgentWhitelistEnabled: boolean;
userAgentWhitelistRestrictedEnabled: boolean;
userAgentWhitelist: string[];
[key: string]: Options[keyof Options];