Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gswilder

macrumors regular
Original poster
Oct 3, 2007
199
22
I have a transportation website that I use often (both iPhone and iPad)

http://511.ky.gov/main.jsf

When I got to this website in Safari, it will actually "fire up" google maps and display the traffic information in Google Maps. (as red pins and blue dots) Many times this is fine, as it seems to be faster than displaying the traffic website in safari.

However there are times when I want to actually view the website in Safari (there is some additional more detailed traffic info).

How do I stop Safari from automatically starting up and using google maps? I just want to use the website in Safari.

Thanks in advance

GW
 
Any Ideas?

I have searched here and googled away. How can I make it stop opening up Google Maps?
 
There appears to be a number of bridge/road construction that shows up in your area of the map...

-C

Sent from my iPhone 4
 
????

This does it both on the iphone and ipad. It also does it on the 3rd party ipad browsers such as atomic cafe.

This only started a year or so ago. So either they changed the website or it was an update on the iphone.

Kind of lost.

Is there anyway to "tell" the KY511 website I am not using a mobile web browser?
 
That website has this code section:

Code:
if ((navigator.userAgent.indexOf('iPhone') != -1) ||
   (navigator.userAgent.indexOf('iPad') != -1) ||
   (navigator.userAgent.indexOf('BlackBerry') != -1))
{
document.location = "[COLOR="Red"]maps:q=http://feeds.transportation.ky.gov/511/trafficconditions.kml[/COLOR]";
}

Along with every request to a webserver, browsers send a "User Agent" identifier string. The returned webpage code above checks to see if the User Agent includes "iPhone" or "iPad" or "Blackberry".

If it does, it redirects you to the page address I put in red.

The only way to prevent this is to use a browser that lets you change the sent User Agent string, so it can pretend to be a different browser.

I think that change ability is still a missing feature in mobile Safari. Someone else can chime in to say if any other iPhone browser can do it.
 
Get the Atomic web browser from the app store. You can have it identify itself as a regular browser and not the mobile one. Boom
 
According to the Atomic web browser description in the iTunes store...

"Atomic Web Browser has the ability to spoof the UserAgent string to trick web sites into thinking the browser comes from a desktop computer.

TIP: Set Identify Browser to Desktop Safari to avoid mobile versions of websites"

Would someone here with Atomic please tell the OP where this setting is?
 
Javascript

Definitely a javascript issue. I disabled Javascript in Settings/Safari, and it no longer tries to open Google Maps. But of course, it cannot display the entire website either.

I will try and find the setting in Atomic Browser this evening when I get home.

Thanks alll
 
Atomic Browser Fixed it

I went into Atomic browser settings, and changed identify as to "firefox 3". That worked perfectly.

Thanks so much everyone. I truly appreciate your help (and patience).

Greg
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.