1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

Added session white list

Fixes #197
This commit is contained in:
kkapsner 2018-07-17 13:07:50 +02:00
parent 6c2dbbebf0
commit 5077c86859
11 changed files with 306 additions and 1 deletions

View file

@ -683,5 +683,12 @@
logging.message("settings still default?", settings.isStillDefault);
}
};
scope.startupReset = function(){
scope.forEach(function(definition){
if (definition.resetOnStartup){
definition.set(definition.defaultValue);
}
});
};
Object.seal(scope);
}());