Closed Bug 843174 Opened 11 years ago Closed 11 years ago

thinkgeek.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, Unassigned)

References

()

Details

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

thinkgeek.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]
→ mozua.sh list thinkgeek
2233 KB/s (14511 bytes in 0.006s)
Listing domain matching thinkgeek
843174 thinkgeek.com

→ mozua.sh remove thinkgeek.com
2361 KB/s (14511 bytes in 0.006s)
Removing UA override for thinkgeek.com
+ adb shell mount -o rw,remount /system
+ adb push /tmp/user.js.tmp /system/b2g/defaults/pref/user.js
88 KB/s (14418 bytes in 0.158s)
+ adb shell mount -o ro,remount /system
+ adb shell stop b2g
+ adb shell start b2g

Then testing on ZTE device and getting the mobile version.

Tested on CLI and getting the mobile stylesheets.

→ http GET http://www.thinkgeek.com/  User-Agent:'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0' | grep -i mobile


	<link rel="stylesheet" type="text/css" href="/css/mobile/styles.css?v=2012112100" media="all">
	<link rel="stylesheet" type="text/css" href="/css/mobile/retina.css?v=2012112100" media="only screen and (-webkit-min-device-pixel-ratio: 2)">
	<link rel="stylesheet" type="text/css" href="/css/mobile/home.css?v=2012111600" media="all">
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 892001
Whiteboard: [uaoverride] → [uaoverride] [country-all] [serversniff]
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.