Improved bookmarklet
-
Since I just moved from moveable type, I missed the ability of the bookmarklet to include (as a blockquote) the text you had selected on the page.
I’ve got it more or less working (on Opera) for myself with the following URL in the bookmarklet:
javascript:d=document; t=d.selection ? d.selection.createRange().text : d.getSelection(); void( window.open( 'https://[BLOG-URL]/wp-admin/bookmarklet.php?popupurl='+ escape(location.href)+'&popuptitle='+ escape(document.title)+'&content='+ escape('<a href="'+location.href+'">'+ document.title+'</a>n<blockquote>'+ t+'</blockquote>n')+'', 'bookmarklet', 'scrollbars=yes,width=600,height=440, left=100,top=150,status=yes'));
Thought I would share it in case anyone else would like to use it (or clean it up…)
- The topic ‘Improved bookmarklet’ is closed to new replies.