Want to see the extension in action?
Check out this quick demo on YouTube by clicking the thumbnail below:
A simple Chrome extension that:
- Finds all open tabs in your current window whose URLs end in
.pdf(case-insensitive) and start withhttps://. - Lists them in a stylish popup.
- Lets you download them all at once with a single click.
-
Download/Clone this repository or copy the three files:
- manifest.json
- popup.html
- popup.js
-
Open Chrome and go to
chrome://extensions/. -
Enable Developer Mode (toggle in the top-right corner).
-
Click “Load unpacked” and select the folder containing the three files.
-
Pin the extension by clicking the puzzle piece icon, then pin the “📑 PDF Tab Grabber.”
- Open some PDF tabs in your current window (e.g.,
https://example.com/file.pdf). - Click the extension icon (the pinned puzzle piece, then “📑 PDF Tab Grabber”).
- The popup shows all active PDF tabs.
- Click “🔽 Download All PDFs” to download them.
- By default, Chrome saves them in your Downloads folder.
- If you want to group them in a subfolder, uncomment or edit the
filenameproperty inpopup.js:chrome.downloads.download({ url: tab.url, filename: "pdfs/file_" + (index + 1) + ".pdf" });
- Copy the first code block into a temporary file (or your code editor).
- Extract the contents of
manifest,popupHtml, andpopupJsinto their respective files in your extension folder:pdf_extension/manifest.jsonpdf_extension/popup.htmlpdf_extension/popup.js
- Copy the second code block into a file named
README.md(optional, for documentation).
That’s it! You now have a fully functional Chrome extension with emojis, improved styling, and a friendly README. Enjoy!

