From 3a05ecb722e07df2783c0149871ab8a37a802d00 Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Sat, 25 Apr 2020 11:25:43 +0300 Subject: [PATCH] Patch 1.2.2 (#7) "Save tabs" now doesn't affect pinned tabs (#6) --- js/background.js | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/background.js b/js/background.js index 1a4d8b6..b78c66b 100644 --- a/js/background.js +++ b/js/background.js @@ -171,7 +171,7 @@ function SaveCollection() { chrome.tabs.query({ currentWindow: true }, function (tabs) { - tabs = tabs.filter(i => !i.url.startsWith("chrome-extension") && !i.url.endsWith("TabsAside.html")); + tabs = tabs.filter(i => !i.url.startsWith("chrome-extension") && !i.url.endsWith("TabsAside.html") && !i.pinned); var collection = { diff --git a/manifest.json b/manifest.json index d68e015..e51b5f5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Tabs Aside", - "version": "1.2.1", + "version": "1.2.2", "manifest_version": 2, "description": "Classic Microsoft Edge \"Tabs Aside\" feature for Chromium browsers", "author": "Michael \"XFox\" Gordeev",