Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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.