1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-03 20:16:33 +02:00

Added clear interval

Also ensures that the persistent data is loaded correctly in ESR.

Fixes #139 and #143
This commit is contained in:
kkapsner 2017-11-08 17:46:41 +01:00
parent ec1c5ae7d8
commit 3cb1974b18
14 changed files with 283 additions and 43 deletions

View file

@ -59,6 +59,19 @@
name: "storePersistentRnd",
defaultValue: false
},
{
name: "persistentRndClearIntervalValue",
defaultValue: 0
},
{
name: "persistentRndClearIntervalUnit",
defaultValue: "days",
options: ["seconds", "minutes", "hours", "days", "weeks", "months", "years"]
},
{
name: "lastPersistentRndClearing",
defaultValue: 0
},
{
name: "askOnlyOnce",
defaultValue: true