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

Drupal Bookmarklet for Safari

TrackBack from Kautilya:

Thanks to Joshua Brauer for this cool .Drupal Bookmarklet It worked with firefox, and the only issue I had was that  popup does not get focus. I added window.focus(), but it still did not help