Export SVG with Style Chrome 插件, crx 扩展下载

 收录于6年前 阅读数 85

扩展ID: 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.

----

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)
名称 Export SVG with Style
插件标识 dkjdcaddoplepioppogpckelchefhddi
平台 Chrome
评分 0
评分人数 40
插件主页

作者 oroadfc
版本号 1.22
大小 20.74 KB
官网下载次数 6000
分类 查看更多 生产效率 分类下的扩展插件
下载地址
更新时间 2019-02-11 00:00:00
举报
回复

大家在找这些插件