Liked Here’s the latest version of my quick-reply bookmarklet. by gRegor MorrillgRegor Morrill (gregorlove.com)
Here’s the latest version of my quick-reply bookmarklet. It lets me reply to any URL now, not just tweet URLs. Copy and paste the below as a bookmark, changing http://example.com/endpoint/?url= to your desired endpoint. javascript:(function(){var endpoint='http://example.com/endpoint/?url=';if(document.location.hostname=='twitter.com'){var container;if(!(container=document.querySelector('.selected-stream-item'))){if(!(container=document.querySelector('.permalink-tweet-container'))){alert('Could not find tweet permalink. Are you sure a specific tweet is selected?');return false;}}var in_reply_to='https://twitter.com'+container.children[0].getAttribute('data-permalink-path');window.open(endpoint+encodeURIComponent(in_reply_to));}else{var in_reply_to=document.location.href;window.open(endpoint+encodeURIComponent(in_reply_to));}}())

Thanks gRegor! This seems to work like a charm with the Post Kinds Plugin endpoints.

Syndicated copies to:

Leave a Reply

Your email address will not be published. Required fields are marked *

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)