From 433057bb198ebda0f2984b3b8770e5faf7e61b80 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Wed, 23 Dec 2020 02:03:32 +0100 Subject: [PATCH] Edge popup fixes --- src/csui/PlayerUiComponent.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/csui/PlayerUiComponent.vue b/src/csui/PlayerUiComponent.vue index 957f7eb..a88841d 100644 --- a/src/csui/PlayerUiComponent.vue +++ b/src/csui/PlayerUiComponent.vue @@ -9,7 +9,7 @@ which means that this extension currently cannot work in Edge on sites that utilize DRM (and neither can other 21:9 extensions).

- Using this extension (and its alternatives) on this site may make the problem you're trying to fix even worse than it is now. + Using this extension (and its alternatives) on this site may make things worse — even if you only set aspect ratio manually.

I have attempted all possible workarounds and none of them work. @@ -32,7 +32,11 @@ Further reading: blog post with extra details.

- I know better than you: hide this popup | never show again for this site + I know better than you: hide this popup +

+

+ In order to disable this popup forever, open the ultrawidify popup, click on 'site settings' and disable automatic aspect ratio detection for this site. + You should probably even disable the extension for this site altogether for the time being.


@@ -109,13 +113,8 @@ export default { return BrowserDetect.firefox ? browser.runtime.getURL(url) : chrome.runtime.getURL(url); }, async hidePopupForever() { - try { - console.log("++") const settings = new Settings(); - console.log("++0") - await settings.init(); - console.log("++1") if (!settings.active.mutedNotifications) { settings.active.mutedNotifications = {}; @@ -131,6 +130,7 @@ export default { settings.active.mutedNotifications.browserSpecific.edge.brokenDrm[window.location.hostname] = true; await settings.saveWithoutReload(); + this.uiVisible = false; } } }