A bookmarklet that lets you preview, copy, and download images from any website just by dragging them — no extensions or installations required.
Useful for pages that block right-click, normal dragging, or load images with CSS protections.
- Open the file
drag-inspector-bookmarklet.htmlin your browserYou can also use the online version:
https://Mounstroya.github.io/Canva_MarkEscape/drag-inspector-bookmarklet.html - Make sure your bookmarks bar is visible (
Ctrl+Shift+B) - Drag the green 📷 Image Grabber button to your bookmarks bar
Done! You can now use it on any page.
- Go to any page that contains images
- Click the 📷 Image Grabber bookmark — a floating panel appears in the bottom-right corner
- Drag any image from the page (you don’t need to drop it anywhere — the panel captures the event automatically as soon as you start dragging)
- The panel shows:
- ✅ An image preview with its real dimensions
- 🔗 The direct image URL
- Three action buttons (see below)
- Click the bookmark again to close the panel
| Button | What it does |
|---|---|
| 🔗 Copy URL | Copies the direct link to the clipboard |
| 🖼 Copy image | Downloads the image and copies it as PNG (for pasting into Figma, Word, etc.) |
| ⬇ Download | Downloads the original file with its real filename |
Most websites block dragend and drop events to protect their images. This bookmarklet listens to the dragstart event in the capture phase at the document level, meaning it intercepts the event before the page can block it.
Also, when the dragged element is not directly an <img> (for example, a <div> with draggable="true" that contains an image inside), the script walks up the DOM tree to find the closest image and extract its src.
| Browser | Works |
|---|---|
| Chrome | ✅ |
| Edge | ✅ |
| Firefox | ✅ |
| Safari |
Note about "Copy image": requires the server to allow CORS (
Access-Control-Allow-Origin: *). If it’s blocked, the panel will indicate it and you can use "Copy URL" as an alternative.
If this bookmarklet saved you some time, you can buy me a coffee:
MIT — use it, modify it, and share it freely.