Closed Bug 843181 Opened 11 years ago Closed 10 years ago doesn't recognize B2G UA as mobile


(Web Compatibility :: Mobile, defect)

Gonk (Firefox OS)
Not set


(Not tracked)



(Reporter: lmandel, Assigned: karlcow)




(Whiteboard: [uaoverride] [country-all] [sitewait] [serversniff]) serves a desktop site to B2G. Bug 823364 added an UA override for this domain. The override should be removed once the domain serves mobile content to B2G. This bug tracks the evangelism for the site to recognize the B2G UA and the removal of the override at that time.
Whiteboard: [uaoverride]
Simple test. the content sent is different for Mobile and Desktop. ZTE receives the desktop site. As of today, searching for sgmobile seems to be a good flag for knowing if we received the mobile or desktop content.

→ curl -s -A "Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; GT-I9100 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" | grep -i sgmobile

	<link rel="stylesheet" href="">
		<script src=""></script>
<link rel='stylesheet' id='style-responsive-css'  href=''  media='all' />
<link rel='stylesheet' id='font-awesome-css'  href=''  media='all' />
<script type='text/javascript' src=''></script>
<script type='text/javascript' src=''></script>
<script type='text/javascript' src=''></script>
<script type='text/javascript' src=''></script>
	</script><!--[if lt IE 9]><script src=""></script> <![endif]-->

→ curl -s -A "Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0" | grep -i sgmobile

SlashGear is part of R3 Media LLC. —

Vincent Nguyen, Editor-in-Chief, detailed contact information on

sent him an email
Hi Vincent,

I'm working for Mozilla. I have noticed that you covered the Firefox OS launch on SlashGear. [1] There is a Web compatibility issue for SlashGear and Firefox OS. Basically if we remove the UA override [2] for slashgear, we are receiving the desktop Web site, which is not very usable. We would love to get rid of it. 

Would you be able to point me to the right person at SlashGear and/or R3 Media, so we can work together on solving the issue.



Whiteboard: [uaoverride] → [uaoverride][uasniffserverside]
Whiteboard: [uaoverride][uasniffserverside] → [uaoverride] [country-all] [sitewait] [serversniff]
sent a reminder
Hi Karl, this is Ewdi from SlashGear, let me know what we can do to get this fix. Thanks!
Hi Ewdi,

Thanks for showing up here. 
So little summary.

Firefox OS is a system which is available on a few devices such as the ZTE mobile device. It has a fully capable firefox browser on it.  The user agent string is of the following type:

Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

We encourage Web developers to just try to identify on /mobi/i, so you catch Firefox OS, Firefox for Android, Opera Mobile, IEMobile, etc.

Currently slashgear is sending the desktop version to Firefox OS. Would it be possible to fix that?
As it seems you are using WordPress which systems do you use for the UA detection?

Assignee: nobody → kdubost
Flags: needinfo?(ethen)
Ewdi any progress on the issue?
Still receiving desktop content on Firefox OS.
Sent an email to ewdi ;)
This is resolved. Thanks a lot!
Closed: 10 years ago
Flags: needinfo?(ethen)
Resolution: --- → FIXED
Blocks: 965060
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.