搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to save an SVG file without opening it in a browser tab first?

  • 3 个回答
  • 2 人有此问题
  • 12 次查看
  • 最后回复者为 cor-el

more options

Sometimes I have to download very large SVG files. These files are generated dinamically by a web server, when I select some options in a web form. Thus, there is no link to click: an action on the web page causes Firefox to spawn a new tab and try to open the SVG file inside it. The file can be very large, and Firefox can get stuck in trying to display it, before I can right-click on the image and select "save as" to get the file I'm interested in.

I would like that, upon requesting an SVG web resource, Firefox ask me how I want to deal with the resource: displaying it online, opening with an external application, or saving it - exactly in the same fashion as with PDF files.

Thank you!

Sometimes I have to download very large SVG files. These files are generated dinamically by a web server, when I select some options in a web form. Thus, there is no link to click: an action on the web page causes Firefox to spawn a new tab and try to open the SVG file inside it. The file can be very large, and Firefox can get stuck in trying to display it, before I can right-click on the image and select "save as" to get the file I'm interested in. I would like that, upon requesting an SVG web resource, Firefox ask me how I want to deal with the resource: displaying it online, opening with an external application, or saving it - exactly in the same fashion as with PDF files. Thank you!

所有回复 (3)

more options

Hi lallulli, You can control or add a preference as what to do with an svg file in the Applications section of preferences:

more options

If you want to see an SVG file as text use the view-source protocol e.g. view-source:http://upload.wikimedia.org/wikipedia/commons/1/18/SVG_example7.svg

Support for SVG files is built in, you can't set it using the Applications sction of preferences

more options

The only way to get Firefox to offer to save the SVG image would be to force a content type that Firefox doesn't recognize as supported natively.