web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

www.instructables.com - desktop site instead of mobile site

Open DPDmancul opened this issue 10 years ago • 4 comments

URL: http://www.instructables.com/id/Adding-MIDI-to-Old-Home-Organs/ Browser / Version: Firefox Mobile 43.0 Operating System: Android 5.0 Problem type: Desktop site instead of mobile site

Steps to Reproduce

  1. Navigate to: http://www.instructables.com/id/Adding-MIDI-to-Old-Home-Organs/

Expected Behavior: mobile websit

Actual Behavior: desktop and doesn't working website

DPDmancul avatar Dec 23 '15 17:12 DPDmancul

@DPDmancul Thanks for the report.

The Web site is very sensitive to UA detection

  • Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.76 Mobile Safari/537.36 will trigger the mobile site (Firefox Gecko with faking the UA)
  • but Mozilla/5.0 (Linux; Android 4.4.4; SH-01G Build/SB080) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.76 Mobile Safari/537.36 will not.

see for example a Chrome UA

→ http HEAD http://www.instructables.com/id/Adding-MIDI-to-Old-Home-Organs/ "User-Agent:Mozilla/5.0 (Linux; Android 4.4.4; SH-01G Build/SB080) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.76 Mobile Safari/537.36"

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=86400
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 21277
Content-Type: text/html; charset=utf-8
Date: Fri, 25 Dec 2015 06:45:23 GMT
Expires: Sat, 26 Dec 2015 04:36:07 GMT
Fastly-Debug-Digest: 293ee8b6be76ffd98381f48cd3bcc60367a3db4a53aca631c0e9280e7ee86712
Last-Modified: Fri, 25 Dec 2015 04:36:07 GMT
Server: Apache/2.2.24 (PowerStack)
Vary: Accept-Language, Accept-Encoding
Via: 1.1 varnish
Via: 1.1 varnish
X-Cache: HIT, MISS
X-Cache-Hits: 1, 0
X-Served-By: cache-dfw1820-DFW, cache-lax1431-LAX

And another chrome UA

→ http HEAD http://www.instructables.com/id/Adding-MIDI-to-Old-Home-Organs/ "User-Agent:Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.76 Mobile Safari/537.36"

HTTP/1.1 301 Moved Permanently
Accept-Ranges: bytes
Connection: close
Content-Length: 0
Date: Fri, 25 Dec 2015 06:47:36 GMT
Location: http://m.instructables.com/id/Adding-MIDI-to-Old-Home-Organs/
Retry-After: 0
Server: Varnish
Via: 1.1 varnish
X-Cache: HIT
X-Cache-Hits: 0
X-Served-By: cache-lax1434-LAX

We needs to find contact.

karlcow avatar Dec 25 '15 06:12 karlcow

Mozilla has an open bug for Firefox OS too. https://bugzilla.mozilla.org/show_bug.cgi?id=1001443

karlcow avatar Dec 25 '15 06:12 karlcow

Website contact:

http://www.instructables.com/community?categoryGroup=help&category=bugs

Scantleous avatar Jan 01 '16 02:01 Scantleous

This has been fixed.

karlcow avatar May 10 '16 11:05 karlcow