From d2e1b1704d4ab8b088741af51a4440d4f5c6db84 Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Fri, 27 Mar 2020 19:29:58 +0300 Subject: [PATCH] Fixed panel appearance on some websites Fixed pane opening on extension webstores pages --- css/style.css | 4 ++++ js/background.js | 4 +++- manifest.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 6f29127..050b6b1 100644 --- a/css/style.css +++ b/css/style.css @@ -9,6 +9,7 @@ left: 0 !important; transition: .2s !important; opacity: 0; + color: black !important; } .tabsAside.pane @@ -122,8 +123,11 @@ .tabsAside.pane > section > h2 { + color: inherit !important; margin: 0px 40px !important; font-weight: normal !important; + font-size: 1.5em !important; + line-height: normal !important; } /* Collection header */ diff --git a/js/background.js b/js/background.js index 22cbd1e..47118ef 100644 --- a/js/background.js +++ b/js/background.js @@ -1,6 +1,8 @@ chrome.browserAction.onClicked.addListener(function (tab) { - if (tab.url.startsWith("http")) + if (tab.url.startsWith("http") + && !tab.url.includes("chrome.google.com") + && !tab.url.includes("microsoftedge.microsoft.com")) { chrome.tabs.insertCSS( { diff --git a/manifest.json b/manifest.json index b370507..d2e141b 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Tabs Aside", - "version": "1.0", + "version": "1.1", "manifest_version": 2, "description": "Classic Microsoft Edge \"Tabs Aside\" feature for Chromium browsers", "author": "Michael \"XFox\" Gordeev",