Created
January 9, 2026 22:43
-
-
Save rmtbb/dfaef06d5edb4ada23de0316a44ec6e2 to your computer and use it in GitHub Desktop.
Full Page Screenshot Bookmarklet by Remote BB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){var s=document.createElement('script');s.src='https://cdn.jsdelivr.net/npm/html2canvas@1.4.1/dist/html2canvas.min.js';s.onload=function(){html2canvas(document.body,{useCORS:true,logging:false}).then(function(c){var a=document.createElement('a');a.download=(document.title||'screenshot')+'.png';a.href=c.toDataURL();a.click();});};document.body.appendChild(s);})(); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Full Page Screenshot Bookmarklet by Remote BB (Chrome Compatible)
This bookmarklet captures a full-page screenshot of the current webpage directly in the browser using
html2canvas. The captured image is downloaded as a.pngfile named after the page title.πΈ Features
π Installation
minified
unminified for clarity
π Usage
Navigate to any webpage you want to capture
Click the bookmarklet
Wait for rendering to complete
A
.pngfile will automatically downloadπ Output Details
Format:
PNGFilename: Page title (e.g.,
My Blog Article.png)β Known Limitations
Because this relies on
html2canvas, accuracy may vary on:Embedded videos
3D/canvas elements
Cross-origin iframes (due to browser security)
Extremely long pages (large final image size)
For most static content (blogs, docs, dashboards, landing pages), it works well.
π§© Alternatives
If you need:
Enjoy!
BB