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.

Published by

Chris Aldrich

I'm a biomedical and electrical engineer with interests in information theory, complexity, evolution, genetics, signal processing, IndieWeb, theoretical mathematics, and big history. I'm also a talent manager-producer-publisher in the entertainment industry with expertise in representation, distribution, finance, production, content delivery, and new media.

Leave a Reply

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

To respond to a post on this site using your own website, create your post making sure to include the (target) URL/permalink for my post in your response. Then enter the URL/permalink of your response in the (source) box and click the 'Ping me' button. Your response will appear (possibly after moderation) on my page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)