Export SVG with Style

dkjdcaddoplepioppogpckelchefhddi

Adds a SVG export button to the browser, which spits out SVG DOM elements present on page as files including CSS. Exports any SVG DOM elements (now including those within same-origin IFrames) on a web page to files for further use in drawing packages such as Inkscape. Scans through CSS classes for styles the SVG and their child elements uses and adds them as standalone style elements to the SVG object, so the generated SVG file doesn't depend on external CSS classes. Good for passing out visualisations generated with D3. 1.13: Couple more errors to do with parent style recognition ironed out. 1.18: Bugfix where class being an SVGAnimatedString caused a crash. Thanks to Robert Kerr for spotting this. 1.19: Thanks to Severin Neumann for adding the ability to include images embedded in SVG. 1.22: Add alert popup to say what svgExport has found. Save svg's with slightly useful filenames (svg element's id and class)

Related extensions