Closed Bug 843181 Opened 11 years ago Closed 10 years ago

slashgear.com doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lmandel, Assigned: karlcow)

References

()

Details

(Whiteboard: [uaoverride] [country-all] [sitewait] [serversniff])

slashgear.com 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" http://www.slashgear.com/ | grep -i sgmobile


	<link rel="stylesheet" href="http://www.slashgear.com/wp-content/themes/sgmobile/style.css">
		<script src="http://www.slashgear.com/wp-content/themes/sgmobile/js/ie/selectivizr.js"></script>
<link rel='stylesheet' id='style-responsive-css'  href='http://www.slashgear.com/wp-content/themes/sgmobile/style-responsive.css?ver=1.0'  media='all' />
<link rel='stylesheet' id='font-awesome-css'  href='http://www.slashgear.com/wp-content/themes/sgmobile/fonts/font-awesome.min.css?ver=3.0'  media='all' />
<script type='text/javascript' src='http://www.slashgear.com/wp-content/themes/sgmobile/js/jquery.jplayer.min.js?ver=2.1.0'></script>
<script type='text/javascript' src='http://www.slashgear.com/wp-content/themes/sgmobile/js/jquery.flexslider.min.js?ver=2.1'></script>
<script type='text/javascript' src='http://www.slashgear.com/wp-content/themes/sgmobile/js/jquery.sharrre-1.3.4.min.js?ver=1.3.4'></script>
<script type='text/javascript' src='http://www.slashgear.com/wp-content/themes/sgmobile/js/jquery.theme.js?ver=1.0'></script>
	</script><!--[if lt IE 9]><script src="http://www.slashgear.com/wp-content/themes/sgmobile/js/ie/respond.min.js"></script> <![endif]-->


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


SlashGear is part of R3 Media LLC. — http://www.slashgear.com/about/
http://r3media.com/

Vincent Nguyen, Editor-in-Chief, detailed contact information on 
https://plus.google.com/+VincentNguyen/about
including vincent@slashgear.com

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.

Thanks
Best.

[1]: http://www.slashgear.com/firefox-os-launching-spain-this-week-for-open-source-android-challenger-01288575/
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=843181

==============================================
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?

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