ultrawidify/js/conf/Settings.js
2017-12-17 22:56:07 +01:00

27 lines
855 B
JavaScript

// Extension settings are in this file. Site configuration is in Sites.js
// todo: move keybinds here
if(Debug.debug)
console.log("Loading: Settings.js");
var _se_init = function(){
console.log("pls load settings from localstorage here");
}
Settings = {
arDetect: {
enabled: "global",
allowedMisaligned: 0.01, // top and bottom letterbox thickness can differ by this much. Any more and we don't adjust ar.
allowedArVariance: 0.025, // % by which old ar can differ from the new
blacklist: [], // banned on enabled: "global"
whitelist: [] // enabled on enabled: "whitelist-only", disabled on "disabled"
},
arChange: {
samenessTreshold: 0.025, // if aspect ratios are within 2.5% within each other, don't resize
},
miscFullscreenSettings: {
videoFloat: "center",
},
init: _se_init
}