Skip to content

AllLiveSupport/Scribd-Downloader-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 Scribd-Downloader-js

🚀 Download any document from Scribd as PDF or Images — for free!


GitHub stars License User Script Buy Me a Coffee



✨ Dual Mode • 🎯 Toggle Control • 🧹 Clean PDF Output • 🖼️ Image Export



🎯 Three Methods

Method Best For Difficulty
🌐 Tampermonkey Quick & easy browser use (Toggle Button) ⭐ Easy
🔖 Bookmarklet Quick use without extensions ⭐ Easy
💻 Console Developers, one-time use ⭐⭐ Medium


🌐 Method 1: Tampermonkey (Recommended)

Step 1: Install Tampermonkey Extension

Browser Install Link
Install
Install
Install

Step 2: Install the Script

  1. Open scribd.user.js in this repository.
  2. Click the "Raw" button.
  3. Tampermonkey will automatically detect the script and ask to install. Click "Install".

Step 3: Use It!

  1. 🌐 Go to any Scribd document page.
  2. 📥 Tap the floating green "Download" button at the bottom-right.
  3. ⚙️ Select IMAGES or PDF mode.
  4. 🚀 Adjust page range if needed and click "START DOWNLOAD".
  5. Keep the PiP window open! It ensures the download continues in the background.


🔖 Method 2: Bookmarklet

  1. Create Bookmark: Add a new bookmark to your browser.
  2. Name: Set it to Scribd Downloader.
  3. URL: Paste everything from Scribd Downloader Bookmark.txt.
  4. Action: Click the bookmark while on a Scribd page to launch.


💻 Method 3: Console

  1. F12: Open Developer Tools (Console tab).
  2. Paste: Copy code from Scribd Downloader.txt.
  3. Enter: Run the script to show the panel.


🛠️ Features Detailed

  • 🖼️ Image Mode: Saves every page as a .jpg file. Great for preserving exact layout.
  • 📄 PDF Mode: Combines all captured images into a single, high-quality PDF.
  • 📱 PiP Background Hack: A small Picture-in-Picture window opens to keep the browser process active even when the tab is not in focus.
  • 🔄 Toggle Button: (Tampermonkey only) Easily show/hide the downloader UI without refreshing the page.
  • 🚫 No Premium Required: Works on all publicly embeddable documents.


🖨️ PDF Generation Settings

For the best output quality:

Setting Value
PDF Library jsPDF (Auto-loaded)
Download Wait 500ms (Configurable)
Retry Attempts 3 times


📂 Project Structure

📦 Scribd-Downloader-js
 ┣ 📂 docs/images
 ┃ ┣ 🖼️ Downloader.PNG
 ┃ ┗ 🖼️ PIP.PNG
 ┣ 📜 LICENSE
 ┣ 📜 README.md
 ┣ 📜 scribd.user.js                # Tampermonkey Script
 ┣ 📜 Scribd Downloader.txt         # Console Script
 ┗ 📜 Scribd Downloader Bookmark.txt # Bookmarklet Script


⚠️ Disclaimer

Caution

Legal Notice: This tool is provided for personal and educational purposes only.

  • 📚 Respect Copyright: Do not use this tool to download material you do not have rights to.
  • 👤 Responsibility: You are solely responsible for your actions and compliance with Scribd's Terms of Service.
  • 🚫 No Liability: The authors are not responsible for any misuse.


🔧 How It Works (For Developers)

🎯 Core Concept

Scribd's content is often accessible via the /embeds/ endpoint. This tool:

  1. Extracts the document ID from the URL.
  2. Wraps the content in a custom UI panel.
  3. Automates Scrolling: Triggers lazy-loading of all pages.
  4. Captures Images: Intercepts the .absimg elements from the DOM.
  5. Generates PDF: Uses jsPDF to stitch images into a single document.
  6. Background Survival: Uses a canvas + video stream in a PiP window to prevent the browser from throttling the script when the tab is hidden.


⭐ Star this repo if it helped you!


GitHub

About

Download Scribd books and documents as PDF/Images. Includes Tampermonkey script and browser bookmarklet support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages