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!

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

automatically load mobile version of Blogspot blogs?

  • 4 odpovede
  • 1 má tento problém
  • 1 zobrazenie
  • Posledná odpoveď od 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

Vybrané riešenie

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)

Čítať túto odpoveď v kontexte 👍 2

Všetky odpovede (4)

more options

Vybrané riešenie

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.