Export SVG with Style Export SVG with Style

Productivity
Version: 1.23
Last Update: 2021-07-22

Overview

Export SVG with Style is a Chrome extension developed by oroadfc. According to the data from Chrome web store, current version of Export SVG with Style is 1.23, updated on 2021-07-22.
5,000+ users have installed this extension. 42 users have rated this extension with an average rating of .

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.

----

Uses Eli Grey's fileSaver routine: https://github.com/eligrey/FileSaver.js/

1.1: Now adds dummy svg node which holds computed style of svg element's parent node. Irons out a few discrepancies.

1.11: Dummy svg node now holds computed style of actual svg element, solves couple of further bugs.

1.12: Catches errors caused by invalid style rules rather than crashes

1.13: Couple more errors to do with parent style recognition ironed out.

1.14: Can now also pull out svg elements within IFrames.

1.15: Bugfix when css styles not present - xinczhang

1.16: Bugfix when IFrame is inaccessible (caused crash)

1.17: Bugfix where styles applied to svg element itself weren't being picked up

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.20: Catch stylesheet access exception error

1.22: Add alert popup to say what svgExport has found. Save svg's with slightly useful filenames (svg element's id and class)

1.23 Update to manifest v3, remove some unneeded permissions

Rating

42 ratings

Total Installs

5,000+

Information

Last Update

2021-07-22

Current Version

1.23

Size

21.41KiB

Author

oroadfc

Website

None

Category

Productivity

Latest Reviews

See More

avatar Method Studio
2021-11-01

плагин не работает. непонятно зачем он нужен

avatar Sudev Suresh Sreedevi
2021-07-01

Doesn't seem to do anything at all when clicked. Tried exporting SVG in an HTML page I created and there was no response.
Tried to do the same on this very page (this comment page) to export svg icons here (the settings icon, for eg, is SVG) and did nothing.

avatar Michael Wolz
2019-11-04

Worked like expected :)

avatar simon
2019-08-26

what is savedSVGExport0.svg

avatar Mensch Peter
2019-05-03

Note: If you have already a webpage with svg files open, you have to reload it after the installation of this extension to get it work.

Works very well but could be improved, if the downloaded files do not have numbers in their file names, but the names of the svg images (if it is possible to get them).

Instead of "savedSVGExport0.svg" it would be better "savedSVGExportWarning.svg" etc. or simply "warning.svg"