From 2045397084c1d59413f07336ff72072b6daec7ad Mon Sep 17 00:00:00 2001 From: xofe <22776566+xofe@users.noreply.github.com> Date: Sun, 30 Dec 2018 12:52:52 +0000 Subject: [PATCH] Minor fixes (#1005) * correct cloud-download/upload icon CSS selectors * fix scope tooltip in logger appearing offscreen * open logger/dashboard links adjacent to current tab (match uBO's behaviour) * opera: fix manifest version not being updated Version code copied from tools/make-chromium-meta.py * fix https://www.reddit.com/r/uBlockOrigin/comments/9gwrna/when_you_right_click_and_go_to_options_it_keeps/ source: * https://github.com/gorhill/uBlock/commit/6dd6dc5f1db047b970882b3b88cef81553473ed3 * remove unused "processReferer" setting It was changed to a matrix switch in https://github.com/gorhill/uMatrix/commit/5d8bae3da2fae6a8a3d551090b521725dac7c10c * remove unused source code source: * https://github.com/gorhill/uBlock/commit/f516cd3d2691be9ab6a166cda61fe03d834b26ef * https://github.com/gorhill/uBlock/commit/0503f52b1e0e40e7d857444986498f59aa440540 * remove bold version of Roboto font (unused from HTTPSB) * correct FontAwesome license after change from v5 back to v4.7 License copied from https://github.com/gorhill/uBlock/commit/bb737e29d5ea77a5a6245f484c1cb680455efc0b * fix build scripts after https://github.com/gorhill/uMatrix/commit/c0f4abfd00f758cb423a0d20c50d25716ff059a0 --- platform/chromium/manifest.json | 5 +- platform/chromium/options_ui.html | 10 --- platform/chromium/options_ui.js | 45 ------------- src/background.html | 1 - src/css/common.css | 6 -- src/css/fa-icons.css | 4 +- .../Roboto_Condensed/RobotoCondensed-Bold.ttf | Bin 141796 -> 0 bytes src/css/popup.css | 4 -- src/img/fontawesome/LICENSE.txt | 51 ++++++-------- src/img/fontawesome/fontawesome-defs.svg | 31 +++++++-- src/js/background.js | 1 - src/js/profiler.js | 62 ------------------ src/js/utils.js | 1 + src/logger-ui.html | 2 +- tools/make-chromium.sh | 1 - tools/make-firefox.sh | 5 -- tools/make-opera-meta.py | 18 +++++ tools/make-opera.sh | 1 - 18 files changed, 71 insertions(+), 177 deletions(-) delete mode 100644 platform/chromium/options_ui.html delete mode 100644 platform/chromium/options_ui.js delete mode 100644 src/css/fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf delete mode 100644 src/js/profiler.js diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index 851e068..0993637 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -36,7 +36,10 @@ "default_locale": "en", "homepage_url": "https://github.com/gorhill/uMatrix/wiki", "minimum_chrome_version": "45.0", - "options_page": "dashboard.html", + "options_ui": { + "page": "dashboard.html", + "open_in_tab": true + }, "permissions": [ "browsingData", "cookies", diff --git a/platform/chromium/options_ui.html b/platform/chromium/options_ui.html deleted file mode 100644 index a659edc..0000000 --- a/platform/chromium/options_ui.html +++ /dev/null @@ -1,10 +0,0 @@ - -
- -