Skip to content

Instantly share code, notes, and snippets.

@stilist
Created May 8, 2010 02:18
Show Gist options
  • Save stilist/394252 to your computer and use it in GitHub Desktop.
Save stilist/394252 to your computer and use it in GitHub Desktop.
// ==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