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.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

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