diff --git a/src/ext/conf/ExtensionConf.js b/src/ext/conf/ExtensionConf.js index be89945..02fc2b6 100644 --- a/src/ext/conf/ExtensionConf.js +++ b/src/ext/conf/ExtensionConf.js @@ -941,6 +941,28 @@ var ExtensionConf = { }, css: '', }, + "www.reddit.com" : { + mode: ExtensionMode.Enabled, + autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled, + override: false, + type: 'official', + stretch: Stretch.Default, + videoAlignment: VideoAlignment.Default, + keyboardShortcutsEnabled: ExtensionMode.Default, + DOM: { + video: { + manual: false, + querySelectors: '', + additionalCss: '', + }, + player: { + manual: true, + useRelativeAncestor: true, + videoAncestor: 1, + } + }, + css: '', + }, "vimeo.com": { mode: 3, autoar: 3, diff --git a/src/popup/panels/SiteDetailsPanel.vue b/src/popup/panels/SiteDetailsPanel.vue index c849662..31d3396 100644 --- a/src/popup/panels/SiteDetailsPanel.vue +++ b/src/popup/panels/SiteDetailsPanel.vue @@ -200,13 +200,13 @@ export default { toggleVideoManualQs() { this.ensureSettings('video'); this.videoManualQs = !this.videoManualQs; - this.settings.active.sites[this.site].DOM.video.enabled = this.videoManualQs; + this.settings.active.sites[this.site].DOM.video.manual = this.videoManualQs; this.settings.save(); }, togglePlayerManualQs() { this.ensureSettings('player'); this.playerManualQs = !this.playerManualQs; - this.settings.active.sites[this.site].DOM.player.enabled = this.playerManualQs; + this.settings.active.sites[this.site].DOM.player.manual = this.playerManualQs; this.settings.save(); }, toggleByNodeIndex() {