VintageBigBlue.org

 
Nov 11, 2018
 

With Your Browser, Yahoo Redirects to it's Mobile Website

When trying to look at a stock chart with finance.yahoo.com I kept getting redirected to m.yahoo.com. The latter is the mobile version of the normal yahoo.com desktop website. The decision by the Yahoo servers on whether to serve mobile or desktop is made based on the user agent it gets from the browser. In the case of Iceweasel on Raspberry Pi, it gets "Mozilla/5.0 (X11; Linux armv61; rv:10.1.13) Gecko/20100101 Firefox/s.s.s Iceweasel/x.x.x". The exact version numbers will most cetainly be different in your case but the operative string is "armv61", which is the processor type. The arm series of microcontrollers is very popular with smartphone, tablet, and cellphone makers deceiving Yahoo into thinking you are mobile instead of sitting in front of a normal size monitor. The solution is to deceive Yahoo into thinking your computer is a normal desktop tower system. You can do this by changing the user agent with an extension called " User Agent Switcher" (Firefox, other plugings for other browsers) the latest version as of this writing is "0.7.3.1-signed". You install it by going to Tools > Add-ons and searching for "user agent switcher". The first one to come up is the most popular one that I recommend. Hit the install button and when that is done click the "Restart Browser" link. Then click Tools again and you will have a new item called "Default User Agent". Click it and in options you can set the new user agent to: "Mozilla/5.0 (X11; Linux i586; rv:31.0) Gecko/20100101 Firefox/31.0". The i586 was only used on desktop systems, I don't think ever in a mobile device. After clicking ok on the dialog go back to tools and select "Default User Agent" then set the new agent. When you are finished with the change you should restart your browser, it does not say you have to but the change did not occur until I did. Now pretty much all sites will recoginize your Raspberry Pi as a desktop instead of a mobile device. Have a nice day, and by the way have you checked your furnace air filter lately. Utility companies do not need our charity.


Contact Us
This Site's Privacy Policy
Google's privacy policies