« Chrome Hack – HOWTO create your own Google Chrome Themes using Chromium Theme Creator!
Chrome About Hack – How to retrieve DNS Prefetching Times! »

16 Jun 08 Chrome Hack – How to change User Agent String in Chrome!

Changing User Agent String with any browser is a useful hack that can be used to get free WiFi at Starbucks hotspots .

Here’s a real ghetto hack that involves changing the hex values of chrome.dll using a free hex editor.

Simply open the file and look for something like this:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.X.Y.Z Safari/525.13.

Then change to something like this or any other user agent string:

Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3

The result is shown below where the browser will act like an iPhone Browser.

This might actually be useful for testing applications for the iPhone browser.  Of course, you can do it in Firefox too but Google Chrome browser is probably closer to the iPhone’s Safari browser since it’s based on the WebKit.

via labnol

Tags:, , , , , , , , , , , , , , ,

RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Related Posts