Twitter Unfollow Profile

Greasemonkey Userscript to automatically unfollow anyone who’s twitter profile you open. We have humorously dubbed this one the “Avian Assassin”…

Image representing Twitter as depicted in Crun...Greasemonkey Userscript to automatically unfollow anyone who’s twitter profile you open. We have humorously dubbed this one the “Avian Assassin“…
// ==UserScript==
// @name Twitter Unfollow Profile
// @namespace forhiremedia.com/scripts/twitter-unfollow-profile
// @description Unfollow anyone who's twitter homepage you open.
// @include *twitter.com*
// ==/UserScript==
// Best with http://www.tweepler.com/friends or http://friendorfollow.com
// Use those services to locate people you want to unfollow and open up 
// their profile and they are automatically unfollowed. 
// JUST REMEMBER TO KEEP IT DISABLED UNLESS YOU'RE ACTIVELY CULLING.

// http://joanpiedra.com/jquery/greasemonkey/ compressed
var GM_JQ=document.createElement('script');
GM_JQ.src='http://jquery.com/src/jquery-latest.js';
GM_JQ.type='text/javascript';
document.getElementsByTagName('head')[0].appendChild(GM_JQ);
function GM_wait(){if(typeof unsafeWindow.jQuery=='undefined')
{window.setTimeout(GM_wait,100)}else{$=unsafeWindow.jQuery;run()}}GM_wait();

function run() {
 setTimeout(function() {
  $.post("http://twitter.com/friendships/destroy/"
   +$("meta[name=page-user-screen_name]").attr("content"),
     {authenticity_token: $("input[name=authenticity_token]").val(),
       twttr: true
        },
 function(data,status) {
 var message = (status="success") ? "Unfollowed :)":"Error: Still following :(";
 $("<div>"+message+"</div>")
 .css({fontWeight: "bold", padding: "3px", margin: "3px", background: "#13de13" })
 .insertAfter($(".profile-controls"));
  $(".is-relationship").fadeOut();
   }
  );
 }, 1000);
}

Adapted from [link] for Twitter account maintenance. Image via CrunchBase