From 47e20721e6b6a7a9becfbc0a785d71c7856310f6 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Mon, 24 Jun 2019 14:05:37 +0200 Subject: [PATCH 1/4] Reddit: detect player manually, fix site details popup --- src/ext/conf/ExtensionConf.js | 22 ++++++++++++++++++++++ src/popup/panels/SiteDetailsPanel.vue | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) 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() { From 5256a1bf19c6b9da044bafcf3adf59b88bafb35a Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Mon, 24 Jun 2019 14:26:43 +0200 Subject: [PATCH 2/4] readme update --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index daf9d1b..3667e30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,12 @@ * Settings page looks ugly af right now. Maybe fix it some time later -### v4.1.1 (current) +### v4.1.2 (current) + +* Fixed video alignment issues on www.reddit as well (for people who use old reddit without going to old.reddit) +* Fixed bug with 'player detection' tab + +### v4.1.1 * Disabled gfycat From 1e4f32aee5c87541c819b34fc3a17b50a7da0d70 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Mon, 24 Jun 2019 14:27:23 +0200 Subject: [PATCH 3/4] version bump --- package.json | 4 ++-- src/manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1c70862..fbfe990 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "ultravidify-git", - "version": "4.0.0-a1", + "name": "ultravidify", + "version": "4.1.2", "description": "Aspect ratio fixer for youtube that works around some people's disability to properly encode 21:9 (and sometimes, 16:9) videos.", "author": "Tamius Han ", "scripts": { diff --git a/src/manifest.json b/src/manifest.json index e17eb59..3a305e3 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Ultrawidify", "description": "Removes black bars on ultrawide videos and offers advanced options to fix aspect ratio.", - "version": "4.1.1", + "version": "4.1.2", "applications": { "gecko": { "id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}" From 67ffd483b623118009683c52aeb72c8077d70428 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Mon, 24 Jun 2019 14:29:47 +0200 Subject: [PATCH 4/4] readme update but in popup --- src/popup/panels/WhatsNewPanel.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/popup/panels/WhatsNewPanel.vue b/src/popup/panels/WhatsNewPanel.vue index 77e3a46..655998c 100644 --- a/src/popup/panels/WhatsNewPanel.vue +++ b/src/popup/panels/WhatsNewPanel.vue @@ -2,6 +2,11 @@

What's new

Full changelog for older versions is available here.

+

4.1.1 & 4.1.2

+
    +
  • Disabled extension on gfycat.
  • +
  • Fix for old.reddit.com applied to www.reddit.com
  • +

4.1.0

  • This