Created
May 8, 2010 02:18
-
-
Save stilist/394252 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Twitter hashtag eliminator | |
// @description Hides all hashtags on Twitter | |
// @include http://www.twitter.com/* | |
// @include http://twitter.com/* | |
// @include https://www.twitter.com/* | |
// @include https://twitter.com/* | |
// @creator Jordan Cole (http://ratafia.info) | |
// ==/UserScript== | |
jQuery(document).ready(function ($) { | |
var reparse_t; | |
function hide_hashtags() { | |
$(".tweet-url.hashtag").hide(); | |
} | |
hide_hashtags(); | |
var reparse_when_loaded = function() { | |
if ($("#more").hasClass(".loading")) { | |
reparse_t = setTimeout(function () { | |
reparse_when_loaded(); | |
}, 100); | |
} else { | |
clearTimeout(reparse_t); | |
hide_hashtags(); | |
} | |
} | |
$("#more").live("click", function () { | |
reparse_when_loaded(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment