iPhone Tips

Bookmarklets

A bookmarklet is a bookmark which, instead of taking you to a url, instead runs a snippet of javascript on the current page. The great thing about this is that bookmarklets can be used to add functionality that is otherwise lacking in the iPhone’s Safari browser. Since I found out about them, I’ve collected quite a few that are now indispensable for my iPhone web browsing!

Adding Any Bookmarklet Without Syncing Your Bookmarks

By far the easiest way of adding Bookmarklets to your iPhone is to use iTunes to sync your bookmarks with either Safari or Internet Explorer on your PC. However, there are two main drawbacks with this approach:

  1. My PC bookmarks are generally full of crap, and not what I want to clutter my iPhone up with;
  2. I use Firefox or Opera. I hate IE, and I’m not installing another browser just to sync bookmarks with my iPhone.

Unfortunately, most people who publish bookmarklets on the web simply assume that you’re syncing your bookmarks, and don’t provide any other way of getting them onto your iPhone. It took me quite a while to figure out a reliable process for adding bookmarklets without syncing bookmarks, but I’m glad I did, because it gave me access to some excellent ones I couldn’t otherwise have had!

OK, so how to do it. First, you need to familiarise yourself with the method of manually adding a bookmarklet on your iPhone. Both iCopy and iTransmogrify have very good walkthroughs for this.

Now, what do you do if the bookmarklet you want doesn’t have an iPhone-friendly page? You need to create your own ‘dummy’ link with the javascript appended, that’s what – like so:

http://google.com/javascript:… a pretty straightforward way of doing this is to send the link in an email to your iPhone email address – then you can just click on it, and it’ll open up a ‘404 page not found’ in Safari. (Note that it should be a rich-text email with an embedded link – the javascript can make the URL too long otherwise.) Bookmark that page, then edit the bookmark and remove everything preceding the javascript: and hey presto! You just added your first custom-iPhonified bookmarklet!

OK then, here are my recommended bookmarklets…

Scroll to Bottom of Page

Everybody knows that tapping the status bar scrolls straight back up to the top of the page. OK, that’s occasionally pretty handy – but I find that much more often, I want to scroll straight to the bottom of the page. I found a bookmarklet to do just that here.

Here’s an iPhone-friendly bookmarkable link (follow the bookmark editing procedure outlined above once you’ve stored it).

Paste Custom Text

Erica Sadun over at TUAW coded a bookmarklet for pasting custom text straight into a text-field. Tom King made a super-iPhone-friendly version. Saves me typing in my email address or username whenever I want to login to a site – a real time-saver!

Find in Page

This comes in very handy from time to time. I found an iPhone-bookmarkable version hosted here (which, incidentally, was the site that inspired me to find a method for adding any bookmarklet without syncing bookmarks).

Copy/Paste

Everyone and his dog bemoans the lack of copy and paste on the iPhone. Very few people seem to be aware that iCopy works pretty well, at least within Safari. I agree, of course, that cross-application copy and paste is what we really want – but until then, this is a pretty good stop-gap. Just don’t copy and paste anything confidential, as it’s a non-secure method.

Change Font Size

Small text size on a page? Don’t want to zoom about all over the place just to read it? Use the bookmarklet from here to change the font size to something readable on the iPhone. (Note: you have to enter the font size as #em or #px, not just a number!)

‘Bare Bones’ Version of Page

There are times when you’re only interested in the content of a page, not all the flashy pictures (and awful banner ads!) – especially if you’re on GPRS coverage. The bookmarklets here will convert links to stripped-down versions of their target pages, reducing the page load time considerably.

Save Pages Offline

While not strictly a bookmarklet (though there is a bookmarklet version), http://iwebsaver.com/ is a great way of storing entire web pages as a data URL that you can then view offline – even when you have absolutely zero network coverage. Handy!

There are many more bookmarklets out there; I’ve only posted the ones that I’ve found to be both particularly useful, and singularly hard to find and get onto the iPhone. Hopefully the information will benefit other iPhone users!

Forwarding Hotmail to your iPhone

The iPhone’s built-in Mail app is great for email on the move – unless of course, you’re tied to a Hotmail account. Of course, you can set up a Gmail or Yahoo account, but then you’ve got to migrate across to it. If only Hotmail would allow you to forward your mail to your new address…

By default, Microsoft don’t seem to want you to do this on a standard Hotmail account. Unless you pay for a Hotmail Plus account (which is kinda pointless, seeing as you’re looking to use a new provider as your primary account) or forward the mail to one of their other product domains (which is confusing – a ‘custom domain’ is not the layman’s definition of a custom domain, it’s a Microsoft Live custom domain! Not very clear eh!).

However, there is a way… one which I can take no credit for, I’m only posting it for your information.

1. Go to your options, sign up to Mobile Alerts For New Messages.

2. Bang in the pin number sent to your phone.

3. Configure your Alerts so that ‘All New Messages’ is selected.

4. Send an email to your Hotmail account and you should get a text telling you that you have new mail in your account.

5. Now go back to Mobile Alerts, turn them off, then go to Email Forwarding, and like magic, you can now forward your Hotmail to any email account.

Thanks to murray on rllmukforum for bringing this to my attention – though where he got it from I couldn’t say, it’s pure gold. (Update: Hotmail POP3 access is now supported in the iPhone email app; however, Gmail’s IMAP functionality is far better, so I still think doing it via this route is superior. One email to rule them all!)

Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: