Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

why won't pages saved from page source open as a web page?

  • 3 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi Iamfreezing

more options

Hello. Using Firefox 42 now. With previous versions of Firefox I could view the page source, then save the page source, it would be a .htm file on my computer, then when I opened the page source in my browser, it would display as a normal web page. Now when I open the saved page source, it opens as html text only. Any way to change this?

Hello. Using Firefox 42 now. With previous versions of Firefox I could view the page source, then save the page source, it would be a .htm file on my computer, then when I opened the page source in my browser, it would display as a normal web page. Now when I open the saved page source, it opens as html text only. Any way to change this?

Tất cả các câu trả lời (3)

more options

Try to save the file as a text file if Firefox shows the page source in a tab.

Current Firefox version open the page source in a Tab (view_source.tab) and saving this page works differently. You get html code as you see it with context highlighting code as you will notice if you check the file in a text editor.

Được chỉnh sửa bởi cor-el vào

more options

cor-el said

Try to save the file as a text file if Firefox shows the page source in a tab. Current Firefox version open the page source in a Tab (view_source.tab) and saving this page works differently. You get html code as you see it with context highlighting code as you will notice if you check the file in a text editor.

This helped but not by saving as a txt file. That just gives me html code in a txt file instead of an htm file. What helped was setting the view_source.tab option to false. Now the page source opens in a new window, and when I save it, when I open the saved file in the browser, it appears as a web page (as before). I would not have thought that there would be a difference in the htm files saved via tab or window, (and it seems strange), but anyway, problem solved, thanks.

more options

Why do you save by opening and then save the page source?

I just save any web page by file -> save page as -> web page html only or -> web page complete (Sorry, I run german FF, so I am not sure about correct english menu...)

so it is always saved as .htm/.html file.

I set my FF-config "view_source.editor.path" to notepad++, which I use to retrieve information from the webpage.