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.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==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);
	}
});