Twitter Friend & Follower Bios at a Glance

By Al's scripts Last update Nov 29, 2009 — Installed 3,478 times. Daily Installs: 1, 1, 2, 2, 5, 7, 2, 4, 5, 12, 3, 0, 4, 5, 3, 1, 2, 0, 4, 4, 2, 1, 1, 6, 1, 1, 1, 3, 3, 7, 1, 2

Tweet needed for GreaseKit functionality

Subscribe to Tweet needed for GreaseKit functionality 2 posts, 1 voice

dhollings User

The script works great in Firefox, however not in Safari when using GreaseKit.

This was fixed by wrapping it in an anonymous function.

(function(Twitter){
// wrap everything in an anonymous function because this script doesn't run
// in a wrapper when used in GreaseKit or other contexts other than Firefox

(function() {

var userTwitterURL;
var follower = false; // assume on friends page
var followTableXPath;
var userRowElem;
var userTdElem2;
var userLinkElem;

// determine if on friends or followers page
var followersPattern = /followers/;
if (followersPattern.test(document.location)) {
follower = true;
}
}

I figure this out from the script source below:

http://userscripts.org/scripts/show/24398

It now works in Safari.

 
dhollings User

Ooops... I was mistaken. It still does not work in Safari with GreaseKit. Hmmmm?

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel