Scaffold WebExtension: manifest, content collector, background aria2 RPC, popup UI, filters, and scripts

This commit is contained in:
Jordan Wages 2025-08-21 23:47:57 -05:00
commit 8eeb1d3b20
10 changed files with 427 additions and 0 deletions

31
manifest.json Normal file
View file

@ -0,0 +1,31 @@
{
"manifest_version": 3,
"name": "Archive.org Link Grabber",
"version": "0.1.0",
"description": "Filter and export archive.org /download links; copy or send to aria2 RPC.",
"action": {
"default_title": "Archive.org Link Grabber",
"default_popup": "src/popup/index.html"
},
"permissions": [
"storage",
"clipboardWrite",
"activeTab"
],
"host_permissions": [
"https://archive.org/*",
"http://localhost:6800/*",
"https://localhost:6800/*"
],
"background": {
"service_worker": "src/background/index.js",
"type": "module"
},
"content_scripts": [
{
"matches": ["https://archive.org/download/*"],
"js": ["src/content/collect.js"]
}
]
}