1
0
mirror of https://github.com/XFox111/TabsAsideExtension.git synced 2026-04-22 07:58:01 +03:00

Fixed panel appearance on some websites

Fixed pane opening on extension webstores pages
This commit is contained in:
Michael Gordeev
2020-03-27 19:29:58 +03:00
parent fd5829defe
commit d2e1b1704d
3 changed files with 8 additions and 2 deletions
+3 -1
View File
@@ -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(
{