We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 3 replies
  • 2 have this problem
  • 12 views
  • Last reply by 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!

All Replies (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.