LJ Twitterless

By Xtina Last update Sep 2, 2009 — Installed 1,200 times. Daily Installs: 1, 0, 2, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 3, 1, 1, 0, 1, 2, 1, 0, 5, 0, 0, 0, 0, 1, 1, 0, 1
Script Summary:
This removes LoudTwitter posts from your friends page.
Recently Updated TopicsPosts
Archived Comments2

this script has 1 topic, 2 posts

This script has no reviews.

All has been changed. Please reinstall, &c. This script will default to removing the bullet list that has 'loudtwitter' as the class. If you want the whole entry to be removed, read further.

--

When you reinstall, go to Tools > Greasemonkey > Manage User Scripts, and edit this script. Change the 'branchesUp' number to a number that reflects how many branches there are between the entry container and the LoudTwitter bullet list.

If you have DOM Inspector installed, go to your friends list on a day when there is a LoudTwitter post present, then run the DOM Inspector:

In DOM Inspector, go to Search > Find Nodes. Select 'Attr', put 'class' in the Attr box (without the quotes), and put 'loudtwitter' in the Value field (again without quotes).

When I do that, I get the screenshot above. You will get something similar - a UL item, several items deep, within something that's obviously an entry container. Count the number of downward-facing arrows, and add one - put that as the value for the 'branchesUp' variable.

(So in this instance, 6 down arrows + 1 means I put 7 as the value.)

If you're not inclined to install an entire addon just for one script, which is a fair choice, just start with 1 and work your way up until the entry is removed.

--

In the magical future, I'll put something in for those cases when whoever designed the friends page decided that having a container for the whole entry is for squares and losers. In the interim, this should suffice.

Comment here if you're having an issue:

http://the-xtina.livejournal.com/802614.html?fo...

--

2009-03-30: Removing the timestamps from twittertwits (whatever they're called) effs up my code.  By which I mean to say, I hadn't accounted for them.  Fixed.
2009-03-22: Changed includes so that it, you know, works.