Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Try making your useragent:

"Mozilla/5.0 (compatiable, MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch)"

I did it in Firefox and maps.google.com redirects.

Making your useragent anything that contains "Windows Phone" makes it redirect.



I see http://maps.google.com -> http://maps.google.com/m/local -> http://www.google.com/m?site=local&;

  > GET / HTTP/1.1
  > User-Agent: Mozilla/5.0 (compatiable, MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch)
  > Host: maps.google.com
  > Accept: */*
  > 
  < HTTP/1.1 302 Found
  < Location: http://maps.google.com/m/local

  > GET /m/local HTTP/1.1
  > User-Agent: Mozilla/5.0 (compatiable, MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch)
  > Host: maps.google.com
  > Accept: */*
  > 
  < HTTP/1.1 302 Moved Temporarily
  < ...snip...
  < Location: http://www.google.com/m?site=local&
The final site looks like regular Google search.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: