Jump to content

(Archived) bookmarklet for iphone's safari


Recommended Posts

Is there a bookmarklet for clipping to evernote that works on safari, e.g. the iphone browser.

The evernote released bookmarklet doesn't seem to work. In part this might be because you can't exactly select part of a given webpage in safari. Either that or it could also be due to the fact that the evernote booklarket "opens" in the existing page. This in contrast to the google bookmarklet that adds bookmarks to google's bookmark service. This bookmarklet opens a new page...

For reference, here is the code of evernote's bookmarklet:

javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var%20x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new%20Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();

And here is the google bookmarklet:

javascript:(function(){var%20a=window,b=document,c=encodeURIComponent,d=a.open(%22http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=%22+c(b.location)+%22&title=%22+c(b.title),%22bkmk_popup%22,%22left=%22+((a.screenX||a.screenLeft)+10)+%22,top=%22+((a.screenY||a.screenTop)+10)+%22,height=420px,width=550px,resizable=1,alwaysRaised=1%22);a.setTimeout(function(){d.focus()},300)})();

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...