02 Sep
Posted by admin as Apple iPhone reviews
One smart guy Justin Schwalbe was recently “hit by an inspiration“. He has managed to swap out the default google.com website address for yubnub.com instead. This is how he explain the idea of this hack:
I was just sitting in class, (sorta bored) and read over Erica’s post over at tuaw, and thought.. well why only google and yahoo? We should be able to use whatever search engine we want.
So I opened up the MobileSafari binary (contained within /Applications/MobileSafari.app) with vi and did a string search for “search.google.com”. I was able to edit that entire URL to encode for a yubnub search. If you haven’t heard of yubnub, it’s cool, trust me.
At first it didn’t work–Safari crashed when I opened it. Oops. Then I realized that in order to change a binary file like that you need to keep the original number of characters constant. “http://search.google.com/search?q=%@&ie=UTF-8&oe=UTF-8” (47 chars) is the original string for searching google; whereas “http://yubnub.org/parser/parse?command=%@” (less than 47 chars) is yubnubs. The trick is to “pad” the yubnub search string with a few extra useless characters like so:
“http://yubnub.org/parser/parse?command=%@&xxxxxxxxxxxx” (now it has 47, aaah). And there you have it! I don’t often use yubnub, but it seems to default to google search. Otherwise you could do a search for “wiki embryology” and it would pull up a wikipedia page for embryology. Very convenient!!
Very interesting hack, now every iPhone’s owner could use his own favorite search engine. The main problem is where you will get a binary editor that fits in your pocket…
4 Responses
Kaila Yu
December 16th, 2007 at 3:38 pm
1Hey!…I Googled for kaila yu wikipedia, but found your page about e Default Search Engine in iPhone’s Mobile Safari | Apple iPhone Community in Europe…and have to say thanks. nice read.
Max
December 22nd, 2007 at 3:01 pm
2e Default Search Engine in iPhone’s Mobile Safari | Apple iPhone Community in Europe thanks for this post!
Kaila Yu
January 1st, 2008 at 3:38 am
3Hello webmaster…Man i just love your blog, keep the cool posts comin..holy Tuesday
aks insurance
December 9th, 2009 at 4:28 pm
4Great suggestions and examples, especially for a newbie like myself who lacks a natural sense of web design.
RSS feed for comments on this post · TrackBack URI
Leave a reply
First Unofficial Apple iPhone 3G manual
iPhoneGap Recommend
Probably The Best iPhone Unlocking Solution
Partners
Recent Posts
iTags
3g accelerometer Amp apple Apple Iphone Apple iPhone News application applications Blog Blog Archive business clone CNET design developers fun gadget game games google hack installer.app internet iphone iphone apps iPhone News Iphones ipod Ipod Touch itunes Magic Nbsp Odds And Ends os phone-atlas photo photos review Ru rumors russia software Stocks technology videoiCalendar
iArchive
Subscribe to My Latest News
Categories
Recent Comments
Blogroll
Gadget Code
iPhone pasaule
Ziedi
My Community
iMeta
is proudly powered by WordPress - Men Gadgets theme by: FunPics