From ad5fb9c8daa68e043f7f0dbebf752e15111094af Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 14 Nov 2016 12:03:13 -0500 Subject: [PATCH] fix webext version --- platform/webext/manifest.json | 12 +++--------- platform/webext/polyfill.js | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/platform/webext/manifest.json b/platform/webext/manifest.json index 26ee10a1e..ebbbf36b1 100644 --- a/platform/webext/manifest.json +++ b/platform/webext/manifest.json @@ -7,8 +7,7 @@ "applications": { "gecko": { "id": "uBlock0@raymondhill.net", - "strict_min_version": "51.0", - "strict_max_version": "52.*" + "strict_min_version": "52.0a1" } }, @@ -20,6 +19,7 @@ }, "browser_action": { + "browser_style": false, "default_icon": { "19": "img/browsericons/icon19.png", "38": "img/browsericons/icon38.png" @@ -47,8 +47,6 @@ } ], "minimum_chrome_version": "26.0", - "optional_permissions": [ "file:///*" ], - "options_page": "dashboard.html", "options_ui": { "page": "options_ui.html" }, @@ -56,15 +54,11 @@ "contextMenus", "storage", "tabs", - "unlimitedStorage", "webNavigation", "webRequest", "webRequestBlocking", "http://*/*", "https://*/*" ], - "short_name": "uBlock₀", - "storage": { - "managed_schema": "managed_storage.json" - } + "short_name": "uBlock₀" } diff --git a/platform/webext/polyfill.js b/platform/webext/polyfill.js index 077ae784c..78e57a994 100644 --- a/platform/webext/polyfill.js +++ b/platform/webext/polyfill.js @@ -25,6 +25,6 @@ /******************************************************************************/ -// Nothing to polyfill so far for Firefox's WebExtensions. +var objectAssign = Object.assign; /******************************************************************************/