Extracts an SVG node and accompanying styles from an HTML document and allows you to download it all as an SVG file.
Switch branches/tags
Clone or download
shancarter Merge pull request #28 from NYTimes/revert-5-patch-1
Revert "cleanup after download"
Latest commit f41f811 Feb 28, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets better samples Mar 11, 2013
LICENSE Create LICENSE Mar 8, 2013
README.md Update README.md May 17, 2013
index.html Use HTTPS instead of HTTP to load D3. Feb 8, 2017
svg-crowbar-2.js dev: add name attribute to filename, name accept more characters than… Feb 28, 2015
svg-crowbar.js Revert "cleanup after download" Feb 28, 2017

README.md

#SVG Crowbar

A Chrome-specific bookmarklet that extracts SVG nodes and accompanying styles from an HTML document and downloads them as an SVG file—A file which you could open and edit in Adobe Illustrator, for instance. Because SVGs are resolution independent, it’s great for when you want to use web technologies to create documents that are meant to be printed (like, maybe on newsprint). It was created with d3.js in mind, but it should work fine with any SVG.

Project page