Though the search / find text in page equivalent of Cmd-F or Ctrl-F isn't a native feature of Safari on the iPad, that doesn't mean this functionality can't be added to the iPad with relative ease.
Through the addition of a bookmarket (a javascript bookmark), you can add the ability to search for / find text within a page in the iPad's Mobile Safari browser.
Here's how (do all of this directly on your iPad):
1) copy the following block of text:
javascript:void%28s%3Dprompt%28%27Find%20text%3A%27%2C%27%27%29%29%3Bs%3D%27%28%27+s+%27%29%27%3Bx%3Dnew%20RegExp%28s%2C%27gi%27%29%3Brn%3DMath.floor%28Math.random%28%29*100%29%3Brid%3D%27z%27%20+%20rn%3Bb%20%3D%20document.body.innerHTML%3Bb%3Db.replace%28x%2C%27%3Cspan%20name%3D%27%20+%20rid%20+%20%27%20id%3D%27%20+%20rid%20+%20%27%20style%3D%5C%27color%3A%23000%3Bbackground-color%3Ayellow%3B%20font-weight%3Abold%3B%5C%27%3E%241%3C/span%3E%27%29%3Bvoid%28document.body.innerHTML%3Db%29%3Balert%28%27Found%20%27%20+%20document.getElementsByName%28rid%29.length%20+%20%27%20matches.%27%29%3Bwindow.scrollTo%280%2Cdocument.getElementsByName%28rid%29%5B0%5D.offsetTop%29%3B
Don't worry if some of the above text seems to get cut-off when viewing this on your iPad, if you drag your copy selection box around the whole block of text, it will copy everything it needs.
2) bookmark any page and title it "Find Text" (or whatever you like), then save the bookmark
3) edit the bookmark you just created, and replace the destination with the code you copied above by pasting it
That's it, simply use the bookmark you've just created the next time you want to search for text in a web page on your iPad.
Enjoy!
Comments
Anonymous replied on Permalink
You may also want to try Find
Anonymous replied on Permalink
Works well
Add new comment