Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

automatically load mobile version of Blogspot blogs?

  • 4 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: Marc Sances

more options

How do I force Firefox to load only mobile versions of Blogspot blogs?

Adding "Mobile" to a custom, site-specific useragent override works for Wordpress but not Blogspot:

general.useragent.site_specific_overrides = true general.useragent.override.blogspot.com = "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Mobile Firefox/17.0"

I can force the mobile version by appending "?m=1" to a Blogspot URL, but could I make Firefox do this automatically? I tried some URL regexp plugins, but to no avail…

thanks

How do I force Firefox to load only mobile versions of Blogspot blogs? Adding "Mobile" to a custom, site-specific useragent override works for Wordpress but not Blogspot: general.useragent.site_specific_overrides = true general.useragent.override.blogspot.com = "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Mobile Firefox/17.0" I can force the mobile version by appending "?m=1" to a Blogspot URL, but could I make Firefox do this automatically? I tried some URL regexp plugins, but to no avail… thanks

選ばれた解決策

The issue was that I need to use a Webkit-based browser's useragent; this worked:

general.useragent.override.blogspot.com = "Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; HTC Vision Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"

(solution courtesy this blog)

この回答をすべて読む 👍 2

すべての返信 (4)

more options

選ばれた解決策

The issue was that I need to use a Webkit-based browser's useragent; this worked:

general.useragent.override.blogspot.com = "Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; HTC Vision Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"

(solution courtesy this blog)

more options

Try an iPhone or Android override instead.

Firefox for Android is too new, and websites may detect it as desktop Firefox.

Try iPhone user agent for example:

Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3

more options

Yes, using the correct useragent was the issue.

Another question: Is it possible to force the mobile site to load even if the blog uses a custom (non- *.blogspot.*) URL? thanks

more options

That's a Blogger related thing, so ask in Blogger support for it.