<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Windows Tweaks and more &#187; user agent</title>
	<atom:link href="http://xptweak.net/tag/user-agent/feed/" rel="self" type="application/rss+xml" />
	<link>http://xptweak.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Nov 2009 11:58:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Changing the browser user agent in iPhone</title>
		<link>http://xptweak.net/changing-the-user-agent-in-iphone/</link>
		<comments>http://xptweak.net/changing-the-user-agent-in-iphone/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 12:45:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[uafaker]]></category>
		<category><![CDATA[user agent]]></category>

		<guid isPermaLink="false">http://xptweak.net/2009/02/21/changing-the-user-agent-in-iphone/</guid>
		<description><![CDATA[By default your user agent on the iPhone is something like
Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; ja-jp) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20
Some websites might have a &#8220;lite&#8221; version for your iPhone and you will miss some functionalities.
It has been reported by various sites that if you change the user agent of your iPhone you will get the original webpage instead of the &#8220;lite&#8221; version.
These steps has been tester on v1.1.4 and following them on a different version might not work/harm your phone.
Step 1) ...]]></description>
			<content:encoded><![CDATA[<p>By default your user agent on the iPhone is something like</p>
<p><strong>Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; ja-jp) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20</strong></p>
<p>Some websites might have a &#8220;lite&#8221; version for your iPhone and you will miss some functionalities.</p>
<p>It has been reported by various sites that if you change the user agent of your iPhone you will get the original webpage instead of the &#8220;lite&#8221; version.</p>
<p>These steps has been tester on v1.1.4 and following them on a different version might not work/harm your phone.</p>
<p>Step 1) SFTP or SSH into iPhone and Grab the following files:</p>
<p>/System/Library/Frameworks/Webkit.framework/Webkit<br />
/System/Library/Frameworks/Webkit.framework/Info.plist</p>
<p>Step 2) Open the &#8216;Webkit&#8217; file in a hex editor. You need to find this line:</p>
<p><strong>Mozilla/5.0 (%@; U; CPU iPhone OS %@ like Mac OS X; %@) AppleWebKit/%@ (KHTML, like Gecko) %@</strong></p>
<p>and change that line to</p>
<p><strong>%*0.*0@</strong></p>
<p>In 0xED the changed line looks like <a href="http://xptweak.net/wp-content/upload/2009/02/0xed.png" rel="shadowbox[post-145];player=img;">this</a></p>
<p>Step 3) You need to convert the Info.plist into standard XML format. If you have a Mac you can do this in the terminal using the following command (<span style="COLOR: #ff0000">make sure to change your file path</span> to wherever you have the file saved):</p>
<p><strong>plutil -convert xml1 /Users/username/Desktop/Info.plist</strong></p>
<p>If you aren&#8217;t on a Mac you will need to install the <a href="http://www.activestate.com/Products/activeperl/index.mhtml" target="_blank">Perl Framework</a> to run the plutil script in command prompt (available here: <a href="http://scw.us/iPhone/plutil" target="_blank">http://scw.us/iPhone/plutil</a>). This script has a slightly different syntax but obviously the goal is to convert this file to plain xml so you can edit it.</p>
<p>Step 4) Now open the converted Info.plist and look for these lines:</p>
<p><strong>&lt;key&gt;CFBundleVersion&lt;/key&gt;<br />
&lt;string&gt;420.1&lt;/string&gt;</strong></p>
<p>And simply change the string value to whatever user agent you want. Mine looks like this:</p>
<p><strong>&lt;key&gt;CFBundleVersion&lt;/key&gt;<br />
&lt;string&gt;Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/21.0.016; Profile/MIDP-2.0 Configuration/CLD(-1.1) AppleWebKit/413 (KHTML, like Gecko) Safari/413&lt;/string&gt;</strong></p>
<p>Step 5) Convert Info.plist back to binary with this command in your terminal (OSX) (<span style="COLOR: #ff0000">again, make sure to change your file path</span> to wherever you have the file saved):</p>
<p><strong>plutil -convert binary1 /Users/username/Desktop/Info.plist</strong></p>
<p>Step 6) Upload the two modified files back onto your phone into the same directory you found them.</p>
<p><span style="FONT-SIZE: 0.9em">Step 7)</span> Reset your phone and test out your new user agent by going to something like <a href="http://www.useragent.org/" target="_blank">useragent.org</a></p>
<p>Alternatively you can use a handy SBSettings widget by the name of User Agent Faker(UAFAKER) now in Cydia.</p>
]]></content:encoded>
			<wfw:commentRss>http://xptweak.net/changing-the-user-agent-in-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
