# Download All Tabs A tiny Chrome (Manifest V3) extension that downloads the **actual files** open across the tabs of the current window into a single folder inside Downloads. Built for the case where a window is full of direct file links — e.g. a pile of lecture PDFs on Moodle — and you want them all saved locally in one click, without saving the ordinary web pages mixed in. ## How it works 1. Click the toolbar icon. The popup scans the **current window** only. 2. Type a **folder name** (created under your Downloads directory; defaults to a dated name like `tabs-2026-06-03`). 3. Tick the **file types** to grab. Each distinct extension found in the window is listed with a count (e.g. `PDF — 12 tabs`). Real file types are pre-selected; ordinary web pages are grouped under "Web pages" and left unticked so they're skipped. 4. Hit **Download selected**. Each matching tab is saved into `Downloads//`, keeping its original filename (name collisions are auto-numbered). Downloads go through Chrome's own download manager, so they reuse your existing session cookies — authenticated files behind a login (like Moodle) download just fine, which a `fetch()` from the extension could not do because of CORS. Example: a tab at ``` https://moodle.telt.unsw.edu.au/pluginfile.php/15056959/mod_resource/content/4/LECTURE%202%20T3%2024%20FINAL.pdf ``` is detected as a **PDF** and saved as `LECTURE 2 T3 24 FINAL.pdf`. ## Install (unpacked) 1. Open `chrome://extensions`. 2. Enable **Developer mode** (top-right). 3. Click **Load unpacked** and select this folder. 4. Pin the extension, open a window full of files, and click it. ## Permissions | Permission | Why | |-------------|-----| | `tabs` | Read each tab's title and URL to classify and name the files. | | `downloads` | Save the files into the chosen Downloads subfolder. | No network requests of its own, no analytics, no background page. ## Files ``` manifest.json extension manifest (MV3) popup.html toolbar popup UI popup.css popup styling (light/dark aware) popup.js tab scanning, type grouping, and download logic icons/ toolbar icons (16/32/48/128) ``` ## License MIT — see [LICENSE](LICENSE).