搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Opening page as html code instead of rendering it

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