iPhone User Agent Switcher / Browser changer alternatives?

bbplayer5

macrumors 68030
Original poster
Apr 13, 2007
2,963
574
Do they exist? I hate having to use 3rd party browsers to get an iPad user agent... is there an alternative since these arent updated for ios ?
 

ScootPatoot

macrumors regular
May 16, 2008
202
0
User Faker Agent works on my iP5 (Original) but not on my iPad Air. Figuring it's due to the 64bit architecture. Here's hoping it's updated soon.
 

bbplayer5

macrumors 68030
Original poster
Apr 13, 2007
2,963
574
Anyone have an alternative to this by chance? Would really like safari to load in iPad mode.
 

tateu

macrumors 6502
Jan 27, 2012
357
0
I sent the developer of User Agent Faker an email a few days ago asking if he planned to update it for iOS7 and 64 bit devices. I have not heard back. I don't have a twitter account, but he seems to be active on twitter if someone wanted to ask him over there.

In my tests, it only requires two code changes to get it compiled and working for an iPhone 5s.
 

blakkout

macrumors member
May 28, 2013
33
0
Anyone have an alternative to this by chance? Would really like safari to load in iPad mode.
Using the text editor in iFile or an equivalent method, open:

/var/mobile/Applications/Safari/Library/Preferences/com.apple.mobilesafari.plist

Scroll to the bottom and before </dict></plist> add the text below, save and probably best to respring:

Code:
<key>UserAgent</key><string>Mozilla/5.0 (iPad; CPU OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53</string>
I set Mercury Browser to Mobile Safari (iPad) and went to whatsmyuseragent.com if you're wondering where the string is from.
 

bbplayer5

macrumors 68030
Original poster
Apr 13, 2007
2,963
574
Using the text editor in iFile or an equivalent method, open:

/var/mobile/Applications/Safari/Library/Preferences/com.apple.mobilesafari.plist

Scroll to the bottom and before </dict></plist> add the text below, save and probably best to respring:

Code:
<key>UserAgent</key><string>Mozilla/5.0 (iPad; CPU OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53</string>
I set Mercury Browser to Mobile Safari (iPad) and went to whatsmyuseragent.com if you're wondering where the string is from.


Wow thank you man, ill try this!
 

Ludacrisvp

macrumors 6502a
May 14, 2008
627
271
Wow thank you man, ill try this!
Worked for me on iPhone 5s
Just note you have to follow the long application name. You cannot find this file if you get linked into /var/stash/Applications.blah/mobilesafari.app

I used a user agent from osx 10.9.1 chrome

Code:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77 Safari/537.36
 

Attachments

Similar threads

  • flyproductions
5
Replies
5
Views
763
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.