Filed under: iPhone
iPhone bookmarklets
Over at LifeClever they had the in retrospect obvious, but nonetheless brilliant idea that you can use javascript bookmarkets with your iPhone. Bookmarklets are basically little bits of JavaScript that can perform various functions in your web browser. So, for instance, del.icio.us offers bookmarklets for posting links to their site. Anyway, LifeClever has put together a list of their 17 favorite bookmarklets for the iPhone.These include a nice find text on this page bookmarklet, as well as others for searching on various sites, translating, YubNub, etc. These look pretty cool, and really do add some missing functionality to your iPhone.


![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)


Reader Comments (Page 1 of 1)
superjeff said 4:15PM on 7-19-2007
YubNub looks great. Exactly what the iPhone is missing. Thanks for the heads up.
Reply
Jersey said 4:59PM on 7-19-2007
How exactly do I implement this? For example, can I use find in page on any page I visit?
Reply
mark said 12:35AM on 7-20-2007
@Jersey
FTA: To use, just drag the links into Safari’s Bookmarks Bar and synch them to your iPhone via iTunes. Next, bring up the Bookmarks Bar folder on your iPhone and simply tap the bookmarklet you want to use.
Reply
Jersey said 9:08AM on 7-20-2007
Thanks Mark.
Reply
aj said 6:27PM on 10-06-2007
This inspired me to create a 'notepad' bookmarklet for the iPhone/ipod touch. Hopefully the HTML below will survive this post.
How it works: you will need to serve this page fro m a webserver initially to get it into the iPhone.
After this simply press the save changes link to create a bookmarklet. Save this. Now you can create new notes as offline bookmarklets, naming them appropriately. In essence, it's a self-replicating web page that stores its state when it replicates. At last you can go into a meeting and take notes on your iPhone/iPod touch without having a wifi connection.
Save Changes
window.onload=g();
function f()
{
var e=document.getElementById('x');
document.body.a=escape(e.value.replace(/"/g,''));
var s = "";
s = s + ''+ document.body.innerHTML + '';
document.getElementById('y').href='data:text/html,' + s;
e.style.backgroundColor='yellow';
}
function g()
{
var e=document.getElementById('x');
if (document.body.getAttribute('a') != null) e.value= document.body.getAttribute('a');
}
Reply
Steve said 9:16AM on 10-11-2007
@aj
Thanks for the script. Even though the html didn't come through, I was able to reconstruct a notepad bookmarklet that lets me take notes on my iPod even when there is not wifi. Very cool!
I'm also putting together a Sudoku bookmarklet (based on a javascript version of the game available online) which would work on the iPod/iPhone without wifi. Does anyone know if something like this is already available?
Steve
Reply