The Hash Spam Killer

 

See the Zapper! to clean the Slyme from your TimeLine! Chrome and FireFox supported…

Many atheist and skeptic hashtags are barely usable, due to relentless spamming by a hardcore of misogynistic obsessives. The Hash Spam Killer aims to get these hashtags working again, by filtering out impersonators, “satirical” accounts, and the general morass of bitter, hateful, semi-coherent drivel.

At present, the bot cleans up #WISCFI, the hashtag for the Center For Inquiry’s Women in Secularism conference. There are several ways to view the filtered version:

    • Follow the @hashspamkiller account, which automatically retweets tweets not from block list members.
    • Check the @hashspamkiller favourites, which automatically favourites all tweets not from block list members. This will be most up to date when there is a large load on the hash tag as the account can only retweet 100/hr or 1000/day
    • Install our Twitter widget on your webpage. This can be done by pasting the code…
      <a class="twitter-timeline" data-dnt="true" href="https://twitter.com/hashspamkiller/favorites" data-widget-id="323781197274693633">Favorite Tweets by @hashspamkiller</a>
      <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

…into the HTML source. This will create a display like that on the right hand side of this page.

 

The Hash Spam Killer is a relative of The Block Bot. It uses the same list of problem users (plus a few algorithms of its own) to reject the garbage, and to let through the real conversation.

–> Preview of the upcoming greasemonkey/tampermonkey block bot script…

If you have Chrome…

1. Open the console with <CTRL>+<SHIFT>+J

2. Copy this script into the “Console” tab at the prompt >


// ==UserScript==
// @name       The Atheism+ Zapper
// @namespace  http://theblockbot.com/
// @version    0.1
// @description  blocks Twitter users on the Atheism+ block list
// @match      http*://twitter.com/*
// @copyright  2013 Atheismplus.com
// ==/UserScript==

var i, blockList, badGuyTest, tweets, blockCycle;

blockList = “elevatorgate|uberfeminist|ambrosiaX|danielwaddell17|justinvacula|karla_porter|wbcshirl|DAYLIGHTATHElSM|OpheIiaBenson|centre4inquiry”;

badGuyTest = new RegExp(blockList, “i”);

blockCycle = function() {
tweets = document.getElementById(“stream-items-id”).childNodes;
for (i = 0; i < tweets.length; i++) {
if((tweets[i].nodeName.search(/^li$/i) !== -1) && (tweets[i].getAttribute(“data-item-type”).search(/tweet/) !== -1)){
if (badGuyTest.test(tweets[i].firstChild.nextSibling.getAttribute(“data-screen-name”))) {
tweets[i].firstChild.nextSibling.style.display = “none”;
}
}
}
};

window.setInterval(function(){
blockCycle();
}, 1000);

3. Press return and it will turn blue… Close the console and the standard twitter client is nicely sanitised! Works on hashtag search/timeline/anything in the standard client.

 Posted by at 10:42 pm

  3 Responses to “The Hash Spam Killer”

  1. How do you define “legitimate”?

    • This isn’t a dictionary service you know… But just this once -

      le·git·i·mate
      /liˈjitəmit/
      Adjective

      Conforming to the law or to rules.

      The rule in this case being not a member of the block list… Although the obvious unwritten rule also being tweeps who have not blocked the @hashspamkiller account as we won’t retweet them either!

  2. [...] “parody” Twitter feed. That was the feed that was directing people away from the HashSpamKiller during CFI’s Women in Secularism 2 conference. I’m not sure how interfering with a [...]

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>