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

搜索 | 用户支持

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

详细了解

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.