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

bbplayer5

macrumors 68040
Original poster
Apr 13, 2007
3,133
1,159
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 ?
 
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.
 
Anyone have an alternative to this by chance? Would really like safari to load in iPad mode.
 
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.
 
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.
 
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!
 
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

  • image.jpg
    image.jpg
    115.5 KB · Views: 369
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.