Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📸 DocSnapper — View-Only SharePoint & Canvas to PDF Exporter

The fastest way to export view-only, download-restricted SharePoint, MS Teams, and OneDrive documents directly to printable PDF.

License: MIT Manifest V3 Pure Vanilla JS

Quick InstallHow to UseWhy DocSnapper?Supported Platforms


🔍 The Problem It Solves

Organizations often share PowerPoint presentations, Word documents, and PDFs in SharePoint, Microsoft Teams, or OneDrive with "Block Download" or "View-Only" permissions enabled.

Because these viewers render each page onto an HTML5 <canvas> element inside an iframe, standard browser print dialogs (Ctrl+P) and traditional web extensions fail, resulting in completely blank pages.

DocSnapper runs client-side inside the active page context, captures rendered canvas frames page-by-page at native resolution, and compiles them into a clean, printable multi-page PDF.


✨ Features

  • Bypass Download Restrictions: Export any view-only SharePoint / Teams / OneDrive presentation or document.
  • 100% Client-Side & CSP Safe: Zero external CDNs, zero third-party telemetry, zero server dependencies.
  • Keyboard Hotkey Workflow: Press C to snap a page, press E to compile and export.
  • High-Resolution Multi-Page PDF: Automatically compiles frames into a clean print layout with zero quality loss.
  • Zero Cost / Open Source: 100% free and fully open under the MIT license.

🚀 Installation

1. Download or Clone

git clone [https://github.com/SaucesCode/docsnapper.git](https://github.com/SaucesCode/docsnapper.git)

(Or click Code -> Download ZIP and extract the folder).

2. Load into Chrome, Brave, or Microsoft Edge

  1. Open your browser and navigate to:
  • Chrome / Brave: chrome://extensions/
  • Edge: edge://extensions/
  1. Toggle Developer mode on (top-right corner).
  2. Click Load unpacked in the top-left corner.
  3. Select the extracted docsnapper directory.

📖 How to Use

  1. Open any view-only document in SharePoint Online, MS Teams Web, or OneDrive.
  2. Locate the floating DocSnapper toolbar in the bottom-right corner.
  3. Advance slide/page and press C (or click Snap) for each page you want to capture.
  4. When finished, press E (or click Export PDF).
  5. In the browser print dialog that opens:
  • Destination: Save as PDF
  • Margins: None (or Default)
  1. Click Save.

🛠️ Supported Platforms

  • Microsoft SharePoint Online (*.sharepoint.com)
  • Microsoft Teams Web Client (teams.microsoft.com / teams.cloud.microsoft)
  • Microsoft OneDrive Web Viewer (onedrive.live.com)
  • Any HTML5 canvas-rendered document viewer

🔒 Security & Privacy

  • No Data Sent: All image processing and PDF compilation occurs entirely in your browser's local memory.
  • No Authentication Tokens Harvested: Does not inspect network payloads, cookies, or session tokens.
  • Inspectable Source: Pure Vanilla JS with no minification, obfuscation, or hidden bundles.

📄 License

Distributed under the MIT License. See LICENSE for details.

About

⚡ Export view-only SharePoint, MS Teams, & OneDrive documents/slides to PDF. Bypass download restrictions via canvas capture.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages