搜尋 Mozilla 技術支援網站

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

了解更多

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: