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

搜索 | 用户支持

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

详细了解

Can a website's viewport meta tag be over-ridden in Firefox?

  • 1 个回答
  • 7 人有此问题
  • 8 次查看
  • 最后回复者为 AliceWyman

more options

I'm hoping there's an add-on to override viewport meta tags. I checked about:config and didn't see anything relevant.

A website I use, tumblr, does no browser version checking, and mis-uses the viewport setting to apply a value of "960" to every device. Since my laptop's browser window is 1230 actual pixels, the tumblr webpage is stretched out, which makes images look terrible.

Their viewport tag minus the lesser/greater symbols:

meta name="viewport" content="width=960" id="viewport"

I'd like to override their viewport tag completely, as if it did not exist, or substitute one with content=”width=device-width, initial-scale=1” so I'll have a 1-to-1 pixel ratio.

Not much hope of getting tumblr to stop treating all devices the same; their code to get the language version from browsers for font settings has been broken for years. I have reported the viewport problem to tumblr support, however.

I'm using Firefox 25.0.1 for Windows (Vista).

I'm hoping there's an add-on to override viewport meta tags. I checked about:config and didn't see anything relevant. A website I use, tumblr, does no browser version checking, and mis-uses the viewport setting to apply a value of "960" to every device. Since my laptop's browser window is 1230 actual pixels, the tumblr webpage is stretched out, which makes images look terrible. Their viewport tag minus the lesser/greater symbols: meta name="viewport" content="width=960" id="viewport" I'd like to override their viewport tag completely, as if it did not exist, or substitute one with <i>content=”width=device-width, initial-scale=1”</i> so I'll have a 1-to-1 pixel ratio. Not much hope of getting tumblr to stop treating all devices the same; their code to get the language version from browsers for font settings has been broken for years. I have reported the viewport problem to tumblr support, however. I'm using Firefox 25.0.1 for Windows (Vista).

所有回复 (1)

more options

I'm sorry that no one replied to your question.

If you're looking for a Firefox add-on, you can search through addons.mozilla.org or ask a question on the Mozilla Add-ons forum, which is here: