为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Saving the contents of a webpage

  • 6 个回答
  • 5 人有此问题
  • 1 次查看
  • 最后回复者为 firefox118

more options

When I am on a webpage and I click Ctrl + S to save the web page, is that actually saving this webpage to a file on my computer? Or is it still contacting the server to pull the contents of the page?

To me, it seems like it is actually saving the complete webpage to my computer, but just wanted to verify. There are certain web pages I would like to keep a copy of, just in case the site gets taken down, for whatever reason.

When I am on a webpage and I click Ctrl + S to save the web page, is that actually saving this webpage to a file on my computer? Or is it still contacting the server to pull the contents of the page? To me, it seems like it is actually saving the complete webpage to my computer, but just wanted to verify. There are certain web pages I would like to keep a copy of, just in case the site gets taken down, for whatever reason.

所有回复 (6)

more options

it will save the web page to your computer, and opens a dialogue asking where to save it. ordinarily it will save as a file with a further set of files within a folder.

It is also possible to save just parts of a web page such as text or pictures. Or to save the page as a screenshot, or have some utility that will convert it to a pdf. In fact Firefox it self has an option to print a webpage to a file, and will then create a pdf.

Remember links will save but they may not be guaranteed to work later unless you also save the source. Some components of a webpage may not save, such as video which is streamed.

P.S.

Firefox has not got a good reputation for its printing abilities

由John99于修改

more options

Note that saving web pages may not work properly if there is JavaScript involved in generating the page source.
In such a case it might be better to save the page as a screenshot or print to a PDF file.
It is a good idea to load such pages in Firefox to make sure they work as expected to prevent nasty surprises later.

more options

All I need is a way to save these webpages to my desk and guarantee (or at least guarantee as much as possible) that they will work.

I will stay away from videos, so you can assume I am not referring to videos at all.

Is my method of hitting Ctrl + S and saving it that way sufficient? I did this as a test, removed my internet connection, and was still able to bring up the webpage from the file that was saved. Or would printing to a pdf be more reliable/better?

If so, I don't know how to print to a pdf. That first link provided showed how to print a webpage to a printer, which is not what I want to do.

more options

The printer option should give two choices print to file or print to a printer. The print to file should create a pdf file that is both printable and viewable.

more options

So I have tried this on two computers. On one computer it works. On the computer I will actually be doing it on, it doesn't work.

- I choose print to file - It asks for an output file name - I provide one - Then, I get an error message saying "Could not open the file: Access is denied." The title of that window is "Local Port."

Any suggestions?

more options

So I found an article on this problem:

http://forums.techguy.org/windows-7/911591-print-file-access-denied.html

I was able to print to pdf by typing C:\Users\username\Desktop\filename, putting my username where it says username and putting a random file name in filename.

I don't understand why I have to do that, because after I do that, it still asks me where I want the file to go and a name for it.

But if I run FF as admin, it works fine.

由firefox118于修改