Changeset 57

User picture

Author: frojo56

(2009/02/10 22:03) About 3 years ago

Removed timeago

Affected files

Updated twitter_fantastico.user.js Download diff

5657
6
// @include        	https://twitter.com/*
6
// @include        	https://twitter.com/*
7
// @require			http://iworkwithcomputers.com/dev/jquery/jquery-1.3.min.js
7
// @require			http://iworkwithcomputers.com/dev/jquery/jquery-1.3.min.js
8
// @require			http://iworkwithcomputers.com/dev/jquery/ui/minified/jquery.ui.all.min.js
8
// @require			http://iworkwithcomputers.com/dev/jquery/ui/minified/jquery.ui.all.min.js
9
// @require			http://iworkwithcomputers.com/dev/jquery/jquery.timeago.js
10
// @author    		Carl Furrow
9
// @author    		Carl Furrow
11
// ==/UserScript==
10
// ==/UserScript==
12
11
...
...
51
var loading=false;
50
var loading=false;
52
var lastPage=false;
51
var lastPage=false;
53
var useJQXHR=true;
52
var useJQXHR=true;
53
var current_script_length = 22540;
54
54
55
55
56
if (typeof GM_xmlhttpRequest == "function") 
56
if (typeof GM_xmlhttpRequest == "function") 
...
...
150
	
150
	
151
	log("Done modifying tweets.");
151
	log("Done modifying tweets.");
152
}
152
}
153
153
function add_retweet_button(tweet,json_tweet)
154
function add_retweet_button(tweet,json_tweet)
154
{
155
{
155
	if(json_tweet.user.screen_name != current_username)
156
	if(json_tweet.user.screen_name != current_username)
...
...
406
	jq_tweet_li.find("span.status-body span.entry-meta
a.entry-date").attr("href","http://twitter.com/"+json_tweet.user.screen_name+"/status/"+json_tweet.id);
407
	jq_tweet_li.find("span.status-body span.entry-meta
a.entry-date").attr("href","http://twitter.com/"+json_tweet.user.screen_name+"/status/"+json_tweet.id);
407
	jq_tweet_li.find("span.status-body span.entry-meta a.entry-date span.published").attr("title",json_tweet.created_at); //needs formatting
408
	jq_tweet_li.find("span.status-body span.entry-meta a.entry-date span.published").attr("title",json_tweet.created_at); //needs formatting
408
	jq_tweet_li.find("span.status-body span.entry-meta a.entry-date span.published").html(json_tweet.created_at); //needs formatting
409
	jq_tweet_li.find("span.status-body span.entry-meta a.entry-date span.published").html(json_tweet.created_at); //needs formatting
409
	jq_tweet_li.find("span.status-body span.entry-meta a.entry-date span.published").timeago();
410
	//jq_tweet_li.find("span.status-body span.entry-meta a.entry-date span.published").timeago();
410
	jq_tweet_li.find("span.status-body span.entry-meta a.entry-date + span").html("from " + json_tweet.source + " ");
411
	jq_tweet_li.find("span.status-body span.entry-meta a.entry-date + span").html("from " + json_tweet.source + " ");
411
	
412
	
412
	jq_tweet_li.find("span.actions div a[id^=status_star]").unbind();
413
	jq_tweet_li.find("span.actions div a[id^=status_star]").unbind();
...
...
504
}
505
}
505
function add_update_notification()
506
function add_update_notification()
506
{
507
{
507
	current_script_length = 22422;
508
	//http://userscripts.org/scripts/source/41387.user.js
508
	//http://userscripts.org/scripts/source/41387.user.js
509
	xhr({
509
	xhr({
510
		method:"HEAD",
510
		method:"HEAD",