1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Raise minimum versions of browsers

For the following reasons:

- Support for CSS `gap`, so as to remove the need to
  fall back onto classic popup panel, and thus making
  it possible to fully remove long-ago deprecated
  classic panel (announced in 1.27.0)[1]:
  https://developer.mozilla.org/en-US/docs/Web/CSS/gap

- Support for dynamic import:
  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import

Firefox's minimum version is raised to 68 because it's
the oldest ESR version supporting the features above.
From now on, minimum version of Firefox will always be
an ESR one.

---

[1] https://github.com/gorhill/uBlock/releases/tag/1.27.0
This commit is contained in:
Raymond Hill 2022-01-28 12:02:56 -05:00
parent f98b70d1c0
commit b4911e2d7c
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
4 changed files with 6 additions and 15 deletions

View File

@ -70,7 +70,7 @@
},
"incognito": "split",
"manifest_version": 2,
"minimum_chrome_version": "61.0",
"minimum_chrome_version": "66.0",
"name": "uBlock Origin",
"options_ui": {
"page": "dashboard.html",

View File

@ -15,7 +15,7 @@
"browser_specific_settings": {
"gecko": {
"id": "uBlock0@raymondhill.net",
"strict_min_version": "60.0"
"strict_min_version": "68.0"
}
},
"commands": {

View File

@ -69,7 +69,7 @@
},
"incognito": "split",
"manifest_version": 2,
"minimum_opera_version": "48.0",
"minimum_opera_version": "53.0",
"name": "uBlock Origin",
"options_page": "dashboard.html",
"permissions": [

View File

@ -487,19 +487,10 @@ contextMenu.update();
// default UI according to platform.
if (
browser.browserAction instanceof Object &&
browser.browserAction.setPopup instanceof Function
browser.browserAction.setPopup instanceof Function &&
µb.hiddenSettings.uiFlavor === 'classic'
) {
const env = vAPI.webextFlavor;
if (
µb.hiddenSettings.uiFlavor === 'classic' || (
µb.hiddenSettings.uiFlavor === 'unset' && (
env.soup.has('chromium') && env.major < 66 ||
env.soup.has('firefox') && env.major < 68
)
)
) {
browser.browserAction.setPopup({ popup: 'popup.html' });
}
browser.browserAction.setPopup({ popup: 'popup.html' });
}
// https://github.com/uBlockOrigin/uBlock-issues/issues/717