Search for text within a web page on mobile Safari on your iPhone.
It’s great that iPhone OS 3.0 has this neat Spotlight kind-of-a search feature that makes it a lot more convenient to search for anything on your iPhone. Let me take that word “anything” back, in fact you cannot search for a text within a web page on the Safari browser that comes with the iPhone.
No worries, there is a simple bookmarklet that you can add to your Safari browser on you iPhone to bring the “search within a web page” capability to your iPhone. The steps to get this up-and-running are pretty straight-forward.
I just simply emailed it to me and so I can access the same from my iPhone.
Make sure to copy the entire script and DO NOT miss out any.
Once copied, launch the Safari browser on your iPhone and get to any website, like DemoGeek.com (it doesn’t matter which one).
Once there, tap on the “+” button at the bottom of the screen to start bookmarking the page. Tap on the “Add Bookmark” button to bookmark the page.
That’s pretty much all set. Now, if you want to find a text within a web page, first get to that website and once there tap on the “bookmark” button at the bottom of the Safari browser. Locate the bookmark you’ve created earlier, in this case “Find In Page”, and tap on it.
Mobile Safari will now open-up a dialog that asks you to enter a text or keyword to search for within the web page you have open.
Once you hit the OK button, you’ll be presented with another dialog that tells you how many matches were found for the search term. That’s just a visual information before you get to the detail.
When you hit the OK button iPhone Safari will highlight the text that you’ve searched for within the web page.
That’s all to it! From now on whenever you need to search for a text within a web page just call up the “Find In Page” bookmark and start finding the text you want to find within a web page.
I hope you find this bookmarklet useful. If you see any other uses of this bookmarklet or if you’ve faced any issues with it please share you thoughts/comments.