feat(badge): make badge per-tab and reactive\n\n- Track per-tab counts (total + filtered)\n- Update on tab switch and URL change\n- Popup sends filtered count; background updates badge for tab\n- Default to total count on archive.org download pages\n- Scope quick-action badge updates to tabId

This commit is contained in:
Jordan Wages 2025-08-22 23:28:33 -05:00
commit a4be6d0c4f
3 changed files with 136 additions and 16 deletions

View file

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Archive.org Link Grabber",
"version": "0.1.0",
"version": "0.1.1",
"description": "Filter and export archive.org /download links; copy or send to aria2 RPC.",
"applications": {
"gecko": {
@ -36,8 +36,12 @@
},
"content_scripts": [
{
"matches": ["https://archive.org/download/*"],
"js": ["src/content/collect.js"]
"matches": [
"https://archive.org/download/*"
],
"js": [
"src/content/collect.js"
]
}
]
}