Save SVG by Martin Thomson
Save inline SVG images
You'll need Firefox to use this extension
Extension Metadata
About this extension
This simple extension allows you to right click and save inline SVG images.
The context menu item will be present always, but it will do nothing unless there is an SVG image. This is due to the permissions model for extensions, where checking for the presence of an SVG would require far more invasive permissions.
SVG images can be placed on web pages in one of two ways: as an image or inline. Inline SVG is where the SVG code is included in the HTML directly, rather than using
Right now, this only works for SVG images that are standalone. Inline SVG in HTML can include features that will break when the image is saved. In particular, this includes references outside of the SVG, including CSS style rules, images, and SVG elements. These are rarely used in practice, because it makes authoring awkward. If an image uses these features it will not be saved correctly.
This extension uses "activeTab", "contextMenus", and "menus", and "scripting" permissions for reasons that should be fairly obvious.
The context menu item will be present always, but it will do nothing unless there is an SVG image. This is due to the permissions model for extensions, where checking for the presence of an SVG would require far more invasive permissions.
SVG images can be placed on web pages in one of two ways: as an image or inline. Inline SVG is where the SVG code is included in the HTML directly, rather than using
<img>
tags. Ordinarily, downloading inline SVG images is a little awkward. It involves opening developer tools. This extension allows you to download them from the context menu.Right now, this only works for SVG images that are standalone. Inline SVG in HTML can include features that will break when the image is saved. In particular, this includes references outside of the SVG, including CSS style rules, images, and SVG elements. These are rarely used in practice, because it makes authoring awkward. If an image uses these features it will not be saved correctly.
This extension uses "activeTab", "contextMenus", and "menus", and "scripting" permissions for reasons that should be fairly obvious.
Rate your experience
More information
- Add-on Links
- Version
- 0.2.3
- Size
- 10.25 KB
- Last updated
- a year ago (Nov 27, 2023)
- Related Categories
- License
- The MIT License
- Version History
- Tags
Add to collection
Release notes for 0.2.3
Adding feedback about whether an SVG was found
More extensions by Martin Thomson
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet