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!

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

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.