Too many posts about the same thing on your Twitter timeline?

I was getting annoyed about the amount of posts about one particular topic on my timeline this morning and I decided I could fix the issue with some jQuery.


var term = $('.twitter-anywhere-tweet-box-editor').val();
$(".stream-item:contains('" + term + "')").css('display','none');

If you save it as a bookmarklet you can use this by typing the term you want to disappear from your timeline in the search box and then clicking the bookmarklet.

javascript:var term = $('.twitter-anywhere-tweet-box-editor').val();$(".stream-item:contains('" + term + "')").css('display','none');

That has no practical application really as it doesn't persist over page reloads and only lets you do one phrase at a time, but it helped me vent some frustration at dumb tweets!

Recent posts View all

Ruby

Rubocop CircleCI Config

How to fix issues with Rubocop running on your entire code base.

General

Testing DNS Speeds

Here are some quick scripts for testing DNS speeds and comparing the results.