A Few More iPhone Bookmarklets

Here are a few more iPhone ready bookmarklets. Enjoy!
(If you need intstructions on how to use a bookmarklet with your device click here.)

Find On Page


Have you ever googled something only to find out that it links to a long page where the information you are searching for is hard to find? The Find On Page bookmarklet will find and highlight every instance of your search term.

Javascript

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

Key in your search termYou get a tally of instances of your term.It seems to mess with the page a little, but your search term is highlighted

Search Wiki


Search Wiki does exactly what the name says. A box will pop up to type your search term in, and then you will be taken to the wiki page for that term. Remember to use copy and paste to make this even better.

Javascript

javascript:Qr=prompt('Search%2520Wikipedia%2520for','');if(Qr)location.href='http://en.wikipedia.org/wiki/Special:Search?search='+escape(Qr)+'&fulltext=Search'

Search Wiki does exactly that.

Tinyurl and Bit.ly


If you need to shrink a url for Twitter simply navigate to the page whose url you want to shrink and select one of these bookmarklets:

Bit.ly Javascript

javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://bit.ly/',l=d.location,e=encodeURIComponent,p='?v=3&u='+e(l.href)%20+'&t='+e(d.title)%20+'&s='+e(s),u=f+p;try{if(!/^(.*\.)?tumblrzzz[^.]*$/.test(l.host))throw(0);tstbklt();}catch(z){a%20=function(){if(!w.open(u))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();}void(0)

Tinyurl Javascript

javascript:void(window.open('http://tinyurl.com/create.php?url='+document.location.href));

Bit.lyTinyurlDelicious only appears to work.

Unfortunately for Delicious users the bookmarklet only appears to work, but does not actually post the bookmark to your page.

0 comments:

Visit the App-lesauce Store

View our selection of iPhone and iPod touch accessories by clicking here.