bookmark-stack

web extension to save pages in a stack for reading them later  https://addons.mozilla.org/firefox/addon/bookmark-stack/
git clone https://git.ce9e.org/bookmark-stack.git

commit
d79c1148972f9df1286a92588c6fa3baf996e930
parent
1135dbb6089e952435f1e0940b6f691638b38bc3
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-04-23 18:49
grey badge on empty stack

fixes #2

Diffstat

M shared.js 3 +++

1 files changed, 3 insertions, 0 deletions


diff --git a/shared.js b/shared.js

@@ -39,6 +39,9 @@ var getBookmarks = async function() {
   39    39 var updateCount = async function() {
   40    40 	var bookmarks = await getBookmarks();
   41    41 	chrome.action.setBadgeText({text: '' + bookmarks.length});
   -1    42 	chrome.action.setBadgeBackgroundColor({
   -1    43 		color: bookmarks.length === 0 ? '#6b6b6b' : null
   -1    44 	});
   42    45 };
   43    46 
   44    47 var popBookmark = async function(id) {