Christian Heilmann

Posts Tagged ‘script’

GreaseMonkey script to show if a twitter user follows you or not

Wednesday, October 22nd, 2008

As requested by Josh here’s a greasemonkey script that shows if a certain user follows you on twitter by adding a (follows you) to their name on their profile page.

It works – kinda. As there is no way to get a list of all the people a certain twitter user follows on one page (unless I missed something in the API - help please?) the script first checks if you are in the 30 first followers on the page (the thumbs) and if you are not it loads the “friends” page of a certain user and checks if you are in that page. This covers 60 cases, but not all. Oh well…


// UserScript
// @name Follower
// @namespace twittertools
// @description Shows in an obvious way if a certain twitter user is following you
// @include
// /UserScript

var you = document.getElementById(‘profile_link’).href.replace(/.*//,’‘);
var friends = document.getElementById(‘friends’);
var header = document.getElementsByTagName(‘h2’)[0];
var friends = document.getElementById(‘friends’);
var side = document.getElementById(‘friends’);
var header = document.getElementsByTagName(‘h2’)[0];
header.innerHTML += ’ (follows you)’;
} else {
var url = window.location.href + ‘/friends’;
var isme = ‘’ + you;
method: ‘GET’,
onload: function(responseDetails) {
header.innerHTML += ’ (follows you)’;



Step by Step – create feature walkthroughs for your web sites

Sunday, February 17th, 2008

There is a lot of software out there that allow you to create screencasts by recording what is happening on the screen. Some programs even allow you to annotate each step and tell people what needs to be done. The issue with most of this software is that the outcome are large video files and that users cannot interact with the system while the explanations are given.

Step by Step in action - a highlighted page element with an explanation in a panel

Step by Step is a JavaScript solution based on the YUI that allows you to script an annotated walk-trough of your web applications that happens directly on the application and does not require any video editing skills or large downloads.

What do you think?