function start() {
var url = location.href;
var ar = url.match(/^https:\/\/twitter\.com\/.+\blatest_status_id=(\d+)/);
var br = url.match(/^https:\/\/twitter\.com\/.+\/status\/(\d+)/);
if (ar) {
.href = 'https://twitter.com/intent/tweet?in_reply_to=' + ar[1];
locationelse if (br) {
} .href = 'https://twitter.com/intent/tweet?in_reply_to=' + br[1];
locationelse {
} .href = 'https://twitter.com/intent/tweet';
location
}
}start();
javascript:(function()%7Bfunction%20start()%20%7Bvar%20url%20%3D%20location.href%3Bvar%20ar%20%3D%20url.match(%2F%5Ehttps%3A%5C%2F%5C%2Ftwitter%5C.com%5C%2F.%2B%5Cblatest_status_id%3D(%5Cd%2B)%2F)%3Bvar%20br%20%3D%20url.match(%2F%5Ehttps%3A%5C%2F%5C%2Ftwitter%5C.com%5C%2F.%2B%5C%2Fstatus%5C%2F(%5Cd%2B)%2F)%3Bif%20(ar)%20%7Blocation.href%20%3D%20'https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet%3Fin_reply_to%3D'%20%2B%20ar%5B1%5D%3B%7D%20else%20if%20(br)%20%7Blocation.href%20%3D%20'https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet%3Fin_reply_to%3D'%20%2B%20br%5B1%5D%3B%7D%20else%20%7Blocation.href%20%3D%20'https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet'%3B%7D%7Dstart()%7D)()
既存のツイートから続けて連ツイを開始したい場合には、いったんそのツイートを詳細表示してからRenTweeter Bookmarkletをクリックします。