Now add this page to your bookmarks.
Then you will have to edit the bookmark to remove the string "http://kapranoff.ru/friendfeed/ios_step2.html#" from the start of bookmarked URL. What you need is a URL starting with "javascript:".
And that is all.
P.S. Safari on iPad has a bookmark bar which greatly simplifies working with bookmarklets. Enable it in Safari preferences.