Remove Useless Mafia Wars Posts From Your Wall

By shanep Last update Aug 26, 2009 — Installed 5,356 times.


Script Summary: This looks for specific images from Mafia wars posts, like the "Family Values" posts, and "Nothing Personal" posts, and hides their parent DIV tag from your wall.

Version: 0.1.2

I've added one other function to the script that looks for the "Show X New Posts" on the Home page, if it sees it, it clicks it automatically. I really like having it, but I wasn't sure if others would find that annoying. I guess it's nice to have the link there so you can see the posts you missed while you were gone, but I'm working towards automatically clicking job requests when they appear, which is why I needed it to work this way. Let me know if you have an opinion either way. I've been looking at all the different posts over the last 24 hours and I think I can identify them and remove them a lot more efficiently by simply searching for the wrapper div's that hold them, and evaluating the childNode contents.. I'll probably have a different version up this afternoon if I can make it work right.


NEW VERSION

I just uploaded a new version that has an experimental "jobs" function. It is off by default, but if you right click on the monkey, Click on User Script Commands, Click on Turn Jobs On. It will add a routine to check for jobs as it's listening for the bad images. It will tell you if you were too late, already did it, or how much you received from it.

The Primary glitch that I'm having right now is, the "Show New Posts" link doesn't show up very often, meaning that you'll never be first inline on these new jobs.. It seems that sometimes it works great, and other times I don't see the link for minutes, when I know there are posts ready to come, because I can refresh and see them... I'll keep looking at it.

Let me know if you try out the jobs function and it doesn't work for any reason. Thanks