Enter bookmarklets directly on iPhone
Jul 29, '08 07:30:02AM
Contributed by: channui
If you're temporarily stuck without your Mac, you can still enter some Javascript bookmarklets directly on your iPhone, with a little trouble:
- Turn on Settings » Airplane Mode.
- Launch Safari and tap OK on dismiss the "Turn off Airplane Mode" dialog.
- Enter your the bookmarklet in the location bar.
- Dismiss the "Safari can't open the page" dialog.
- Bookmark the page.
- Turn off Airplane mode.
This works for bookmarklets that set the location property, and perhaps others as well. When Safari aborts the script because it can't open the page, it leaves the bookmarklet in the address field, allowing it to be bookmarked.
Comments (1)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20080724092345101