From 76d6551bc79b7b9782eb11f7ce342416b44f29b9 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sat, 20 Jul 2019 20:38:41 +0200 Subject: [PATCH] Update redit player classlists. --- src/ext/conf/ExtConfPatches.js | 43 +++--------------------------- src/manifest.json | 2 +- src/popup/panels/WhatsNewPanel.vue | 9 ++----- 3 files changed, 6 insertions(+), 48 deletions(-) diff --git a/src/ext/conf/ExtConfPatches.js b/src/ext/conf/ExtConfPatches.js index d6b87f3..83e36f1 100644 --- a/src/ext/conf/ExtConfPatches.js +++ b/src/ext/conf/ExtConfPatches.js @@ -2,7 +2,7 @@ // version: {ExtensionConf object, but only properties that get overwritten} const ExtensionConfPatch = { - '4.2.1': { + '4.2.0': { sites: { "old.reddit.com" : { type: 'testing', @@ -10,7 +10,7 @@ const ExtensionConfPatch = { player: { manual: true, useRelativeAncestor: false, - querySelectors: '.media-preview-content' + querySelectors: '.media-preview-content, .reddit-video-player-root' } }, css: '', @@ -21,7 +21,7 @@ const ExtensionConfPatch = { player: { manual: true, useRelativeAncestor: false, - querySelectors: '.media-preview-content' + querySelectors: '.media-preview-content, .reddit-video-player-root' } }, css: '', @@ -39,43 +39,6 @@ const ExtensionConfPatch = { }, } }, - '4.2.0': { - sites: { - "old.reddit.com" : { - type: 'testing', - DOM: { - player: { - manual: true, - useRelativeAncestor: false, - querySelectors: '.media-preview-content' - } - }, - css: '', - }, - "www.reddit.com" : { - type: 'testing', - DOM: { - player: { - manual: true, - useRelativeAncestor: false, - querySelectors: '.media-preview-content' - } - }, - css: '', - }, - "www.youtube.com" : { - DOM: { - player: { - manual: true, - querySelectors: "#movie_player, #player", - additionalCss: "", - useRelativeAncestor: false, - playerNodeCss: "", - } - } - }, - } - } } export default ExtensionConfPatch; \ No newline at end of file diff --git a/src/manifest.json b/src/manifest.json index 9106a71..273e9dd 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.2.1", + "version": "4.2.2", "applications": { "gecko": { "id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}" diff --git a/src/popup/panels/WhatsNewPanel.vue b/src/popup/panels/WhatsNewPanel.vue index ef08344..4f62e9d 100644 --- a/src/popup/panels/WhatsNewPanel.vue +++ b/src/popup/panels/WhatsNewPanel.vue @@ -2,14 +2,9 @@

What's new

Full changelog for older versions is available here.

-

4.2.0 and 4.2.1

+

4.2.2