diff --git a/CHANGELOG.md b/CHANGELOG.md index c15a6c3..3517cb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,8 +19,7 @@ ## v5.x (current major) ### v5.0.1 -* Turned off zoom limitations for Edge and Chrome. -* Added an option for users to manually re-enable (and configure) Chrome/Edge's zoom limiter. +* Added an option for users to turn off (and/or configure) Chrome/Edge's zoom limiter. ### v5.0.0 diff --git a/src/ext/conf/ExtConfPatches.js b/src/ext/conf/ExtConfPatches.js index 8e33bad..694cdeb 100644 --- a/src/ext/conf/ExtConfPatches.js +++ b/src/ext/conf/ExtConfPatches.js @@ -461,6 +461,21 @@ const ExtensionConfPatch = [ // do nothing } } + }, { + forVersion: '5.0.1.1', + updateFn: (userOptions, defaultOptions) => { + try { + userOptions.mitigations = { + zoomLimit: { + enabled: true, + limit: 0.997, + fullscreenOnly: true + } + } + } catch (e) { + // do nothing + } + } } ]; diff --git a/src/manifest.json b/src/manifest.json index 1ab22a1..1eced28 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": "5.0.1", + "version": "5.0.1.1", "applications": { "gecko": { "id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}" diff --git a/src/popup/panels/WhatsNewPanel.vue b/src/popup/panels/WhatsNewPanel.vue index 9f7b9de..7fc2bf5 100644 --- a/src/popup/panels/WhatsNewPanel.vue +++ b/src/popup/panels/WhatsNewPanel.vue @@ -5,10 +5,7 @@

5.0.1