mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01: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:
parent
f98b70d1c0
commit
b4911e2d7c
4 changed files with 6 additions and 15 deletions
|
@ -70,7 +70,7 @@
|
||||||
},
|
},
|
||||||
"incognito": "split",
|
"incognito": "split",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"minimum_chrome_version": "61.0",
|
"minimum_chrome_version": "66.0",
|
||||||
"name": "uBlock Origin",
|
"name": "uBlock Origin",
|
||||||
"options_ui": {
|
"options_ui": {
|
||||||
"page": "dashboard.html",
|
"page": "dashboard.html",
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
"browser_specific_settings": {
|
"browser_specific_settings": {
|
||||||
"gecko": {
|
"gecko": {
|
||||||
"id": "uBlock0@raymondhill.net",
|
"id": "uBlock0@raymondhill.net",
|
||||||
"strict_min_version": "60.0"
|
"strict_min_version": "68.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"commands": {
|
"commands": {
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
},
|
},
|
||||||
"incognito": "split",
|
"incognito": "split",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"minimum_opera_version": "48.0",
|
"minimum_opera_version": "53.0",
|
||||||
"name": "uBlock Origin",
|
"name": "uBlock Origin",
|
||||||
"options_page": "dashboard.html",
|
"options_page": "dashboard.html",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
|
|
|
@ -487,19 +487,10 @@ contextMenu.update();
|
||||||
// default UI according to platform.
|
// default UI according to platform.
|
||||||
if (
|
if (
|
||||||
browser.browserAction instanceof Object &&
|
browser.browserAction instanceof Object &&
|
||||||
browser.browserAction.setPopup instanceof Function
|
browser.browserAction.setPopup instanceof Function &&
|
||||||
|
µb.hiddenSettings.uiFlavor === 'classic'
|
||||||
) {
|
) {
|
||||||
const env = vAPI.webextFlavor;
|
browser.browserAction.setPopup({ popup: 'popup.html' });
|
||||||
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' });
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/uBlockOrigin/uBlock-issues/issues/717
|
// https://github.com/uBlockOrigin/uBlock-issues/issues/717
|
||||||
|
|
Loading…
Reference in a new issue