Drupal Bookmarklet for Safari

I finally got around to putting together a Drupal bookmarklet for Safari. Replace www.example.com with your server and make sure the rest of the path is correct and it should work for you.

javascript:t=window.getSelection();void(window.open ('http://www.example.com/node/add/blog?edit[title]= '+escape(document.title)+'&edit[body]='+escape(t)+'', '_blank','width=710,height=500,status=yes,resizable=yes, scrollbars=yes'));

Drag this to your menu bar and edit the website and it should work.

Category: 

1 Comment