Skip to content

blackcat1323/SnapPDF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📄 SnapPDF – Webpage to PDF (Google Drive, blob, data)

Capture any webpage into a clean PDF — automatically.


📑 Table of Contents


🚀 Overview

SnapPDF is a Chrome extension that converts webpages into high-quality PDFs.

Works especially well with:

  • Google Drive preview (no download button)
  • Lazy-loaded pages
  • Long scrolling content
  • Protected PDF viewers

✨ Features

  • 🧠 Smart source detection (blob, data, http, canvas)
  • 🔄 Auto-scroll to load full content
  • ⚡ Fast & memory optimized
  • 🎯 Correct page order
  • 🔒 Runs 100% locally (no data sent)

📦 Installation

  1. Go to chrome://extensions
  2. Enable Developer Mode
  3. Click Load unpacked
  4. Select this folder

📌 Pin Extension (Recommended)

  • Click the Extensions (🧩) icon
  • Find SnapPDF
  • Click 📌 Pin

🧑‍💻 Usage

  1. Open any webpage (e.g. Google Drive preview)
  2. Click SnapPDF
  3. Click Generate PDF
  4. Wait → file downloads automatically

⚠️ Notes

  • Auto-scroll is built-in → no manual scrolling needed
  • Some pages may require running the tool twice
  • For best results, wait a few seconds before starting

🛠️ Troubleshooting

No images found

  • Wait a bit → run again
  • Refresh page if needed

Missing pages

  • Content not fully loaded → retry

🔒 Privacy

  • No tracking
  • No uploads
  • Runs entirely in your browser

🧩 Tech

  • Vanilla JavaScript
  • Chrome Extension (Manifest V3)
  • jsPDF

⭐ Use Cases

  • Download Google Drive PDFs without download button
  • Save long webpages as PDF
  • Capture lazy-loaded content

📄 License

MIT

About

Export Google Drive and dynamic pages to PDF easily

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors