diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-12-18 11:24:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 11:24:43 -0500 |
commit | c728448a4d05268d4febb9950a39d517a75ea052 (patch) | |
tree | fc6ef90de9732cf0b0ac35e1d76a1515c8294b4d /ext/bg/data | |
parent | bf349050123eaaa7b58f82b7e3a84e2857fdea8c (diff) |
Maximum clipboard search length (#1118)
* Add maximumClipboardSearchLength an option
* Add setting
* Add limits
* Update tests
Diffstat (limited to 'ext/bg/data')
-rw-r--r-- | ext/bg/data/options-schema.json | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json index 4a953243..85275952 100644 --- a/ext/bg/data/options-schema.json +++ b/ext/bg/data/options-schema.json @@ -108,7 +108,8 @@ "showIframePopupsInRootFrame", "useSecurePopupFrameUrl", "usePopupShadowDom", - "usePopupWindow" + "usePopupWindow", + "maximumClipboardSearchLength" ], "properties": { "enable": { @@ -259,6 +260,11 @@ "usePopupWindow": { "type": "boolean", "default": false + }, + "maximumClipboardSearchLength": { + "type": "integer", + "default": 1000, + "minimum": 0 } } }, |