twitterRtAsNew

This script add a new button with name Rt New bottom of the tweet and you can ReTweet clicked tweet as your own tweet or you can edit tweet like quote. (Turkish) Script temelde twitterda ilgili tweet'in altına bir adet Rt New butonu eklemekte. Bu buton sayesinde ilgili tweet'e tıkladığınızda otomatik olarak tweeti kendi tweetiniz gibi paylaşabilir, dilerseniz twiti düzenleyebilirsiniz.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name        twitterRtAsNew
// @namespace   twitter
// @include     https://twitter.com/*
// @version     1.00
// @require		http://code.jquery.com/jquery-1.11.0.min.js
// @grant       none
// @description This script add a new button with name Rt New bottom of the tweet and you can ReTweet clicked tweet as your own tweet or you can edit tweet like quote. (Turkish) Script temelde twitterda ilgili tweet'in altına bir adet Rt New butonu eklemekte. Bu buton sayesinde ilgili tweet'e tıkladığınızda otomatik olarak tweeti kendi tweetiniz gibi paylaşabilir, dilerseniz twiti düzenleyebilirsiniz.
// ==/UserScript==
$('.tweet-actions-sidebar').append('<li><a class="alertMeID">Rt New</a></li>');
$('.alertMeID').click(function(e){
	var root = $(this).parents('div')[2].innerHTML; var das = $(root).find('.tweet-text')[0].textContent;
	if($('#tweet-box-mini-home-profile').length==0){
		$('#global-new-tweet-button').trigger('click');
		$('#tweet-box-global').text(das);
	} else {
		$('.home-tweet-box form').trigger('uiTweetBoxExpand');
		$('#tweet-box-mini-home-profile').text(das);
	}
});