Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

It is required to put the site in Quirks mode. How to do it?

  • 8 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Dredlord

more options

I have a site, part of the functional that works only in Quirks mode. The site is opened in this mode only when the pop-up blocker is enabled. When the pop-up blocker is disabled, the site is loaded in the standard mode. It is required that the site be loaded in Quirks mode at any settings. What can be done?

I have a site, part of the functional that works only in Quirks mode. The site is opened in this mode only when the pop-up blocker is enabled. When the pop-up blocker is disabled, the site is loaded in the standard mode. It is required that the site be loaded in Quirks mode at any settings. What can be done?

被選擇的解決方法

You would probably use some proxy software (e.g. Privoxy or Proxomitron) to modify the html file and remove or change the DOCTYPE header to force quirks mode

從原來的回覆中察看解決方案 👍 1

所有回覆 (8)

more options

I don't understand what the pop-up blocker has to do with how Firefox renders a site. Very strange. Have you tried leaving the pop-up blocker on and just making an exception for the site? Or does that have the same problem?

More generally, Firefox has reduced support for Quirks mode sites over the years. You may need to use Internet Explorer 11 for sites from the pre-standards era.

more options

Tried it. Did not help.

That's the problem. IE 11 does not like my customer. Only firefox, only hardcore.

more options

Is there a public URL demonstrating the problem?

more options

The problem is specific, associated with oracle products, famous for their bugs. Here it does not make sense. From the support of firefox I am looking to hear whether it is possible to switch the site in Quirks mode.

more options

Firefox decides what rendering mode to use based on the page. I am not aware of any button or setting (such as a Compatibility View) to change that.

https://developer.mozilla.org/docs/Web/HTML/Quirks_Mode_and_Standards_Mode

more options

選擇的解決方法

You would probably use some proxy software (e.g. Privoxy or Proxomitron) to modify the html file and remove or change the DOCTYPE header to force quirks mode

more options

Yes, the removal of the DOCTYPE helped. Thank you.

由 Dredlord 於 修改

more options

Dredlord said

Yes, the removal of the DOCTYPE helped. Thank you.