Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

搜索 | 用户支持

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

详细了解

How do I "Save As" a file?

  • 4 个回答
  • 9 人有此问题
  • 456 次查看
  • 最后回复者为 gerv

more options

Scenario: I used Barcode Scanner to scan the barcode for some software (an Android .apk) file. It offered me: - Email to someone - SMS to someone - Open in browser

So I did the third. It then asked me: "Native browser or Firefox?". The native browser hands these off to the Market.

Expected Result: I assumed Firefox would do the same. Result: Firefox displays it as a big block of ugly text.

And there's no "Save As" function so I can save it to disk and open it from there! Where is the Save As function? I don't want to save as a PDF, I just want to save the file as I downloaded it.

(For bonus points, please also tell me how to alter file associations.)

Scenario: I used Barcode Scanner to scan the barcode for some software (an Android .apk) file. It offered me: - Email to someone - SMS to someone - Open in browser So I did the third. It then asked me: "Native browser or Firefox?". The native browser hands these off to the Market. Expected Result: I assumed Firefox would do the same. Result: Firefox displays it as a big block of ugly text. And there's no "Save As" function so I can save it to disk and open it from there! Where is the Save As function? I don't want to save as a PDF, I just want to save the file as I downloaded it. (For bonus points, please also tell me how to alter file associations.)

被采纳的解决方案

Sorry, there's no "Save Page As" command in the mobile Firefox menu. If you know a web page with a link to the file, you can press-and-hold on the link and choose "Save Link."

Normally Firefox would automatically save an APK file and let you install it, but this requires the web server to send the correct "Content-type" header. Some web servers do not send the header, and the Firefox doesn't know about the file type. We'll try to improve this experience in future versions.

定位到答案原位置 👍 0

所有回复 (4)

more options

选择的解决方案

Sorry, there's no "Save Page As" command in the mobile Firefox menu. If you know a web page with a link to the file, you can press-and-hold on the link and choose "Save Link."

Normally Firefox would automatically save an APK file and let you install it, but this requires the web server to send the correct "Content-type" header. Some web servers do not send the header, and the Firefox doesn't know about the file type. We'll try to improve this experience in future versions.

more options

Hi mbrubeck,

Thanks for the quick reply :-)

Is the removal (or non-implementation) of this function a deliberate design decision?

If you have Save Link, there's obviously not an objection to the general principle of saving pages as HTML (as opposed to, say, PDF). So what's the problem with Save Page As?

Indeed, the server seems to send it as text/plain. Have the controls for associating file extensions with MIME types been removed? It doesn't seem that there are any OS-level ones you could delegate to...

more options

"Save As" was not left out because of anything specific against that feature - it's just that mobile Firefox has a fairly minimal user interface, and we have been slow to add any new features (in an attempt to keep the interface uncluttered and usable). Often we write add-ons so that users who miss them can add these extra features. I may do this for "Save Page As" if it's not added to a future version of Fennec.

We do delegate to Android's OS-level MIME type handling. Every Android app registers a list of file types it can handle, and the OS will pop up a dialog asking you to choose an app (and offering to set a default). You can select an app and press "Clear defaults" in Android's "Manage Applications" settings if you want to change the default later.

由Matt Brubeck于修改

more options

I guess I can't blame you for the braindead design of Android's MIME type handling. In order to fix one mis-directed MIME type, I have to clear the entire list of associated types I may have spent a long time building up! Particularly for Firefox, an application designed to handle quite a few types, that's pretty broken...

Thank you for your help :-)