Saturday, February 2

This is my new "blog this" bookmarklet that automatically italicizes and blockquotes selections, Phil on blogger showed me how to do this. It is soooo coool.





ext = external.menuArguments

doc = external.menuArguments.document

strSelection = "
" +



escape(doc.selection.createRange().text) + "
";

strURL = escape(ext.location.href);

strTitle = escape(doc.title);

winBlogger =



window.open("http://www.blogger.com/blog_form_pop-upE.pyra?b=&t=" +



strSelection + "&u=" + strURL + "&n=" +



strTitle,"bloggerForm","scrollbars=no,width=475,height=300,left=75,



top=175,status=yes,resizable=1")

winBlogger.focus()



No comments: