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

搜索 | 用户支持

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

详细了解

Opening page as html code instead of rendering it

  • 5 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 dawood.albadi

more options

Hello dears As most of you knew that home router has a control page accessed by 192.168.1.1. After i update firefox it shows html code instead of the page after i loged in. The page is work fine in Google Chrome in Ubuntu and Android but not working in Firefox in Ubuntu and Android. In Ubuntu it displays html code and in Android its return to log in page after i logged in. I am using ubuntu 20.04 lts and Firefox 76.0.1 64bit. I tried to find out if i disable any scripts but i couldn't find anything. I erased Firefox completely and reinstall it but nothing changed. I reset Firefox but nothing changed. Any idea??

Hello dears As most of you knew that home router has a control page accessed by 192.168.1.1. After i update firefox it shows html code instead of the page after i loged in. The page is work fine in Google Chrome in Ubuntu and Android but not working in Firefox in Ubuntu and Android. In Ubuntu it displays html code and in Android its return to log in page after i logged in. I am using ubuntu 20.04 lts and Firefox 76.0.1 64bit. I tried to find out if i disable any scripts but i couldn't find anything. I erased Firefox completely and reinstall it but nothing changed. I reset Firefox but nothing changed. Any idea??

被采纳的解决方案

Do you get the page source or is only the CSS code missing (i.e. the page is unstyled) ?

You can see the page source if the file isn't send as text/html. You can check this in the Network Monitor.

定位到答案原位置 👍 0

所有回复 (5)

more options

选择的解决方案

Do you get the page source or is only the CSS code missing (i.e. the page is unstyled) ?

You can see the page source if the file isn't send as text/html. You can check this in the Network Monitor.

more options

cor-el said

Do you get the page source or is only the CSS code missing (i.e. the page is unstyled) ? You can see the page source if the file isn't send as text/html. You can check this in the Network Monitor.

Thank you dear for fast replay I didn't get what you want but i did the steps and screenshot it

more options

Anyone can help?

more options

It looks that Firefox gets a indexMain.cgi file with content-type text/plain.

Do other browsers get the same file offered ?

more options

cor-el said

It looks that Firefox gets a indexMain.cgi file with content-type text/plain. Do other browsers get the same file offered ?

images will show you different between firefox and chromium