There are 1 previous version of this script.
// ==UserScript==
// @name Facebook Friends
// @namespace kidsolo.com
// @description Bulk selects friends on facebook
// @include http://facebook.com/*
// @include http://*.facebook.com/*
// ==/UserScript==
// you may want to tweak the include and add excludes - I dont' facebook so ... dunno
var where=document.getElementById('presence_bar_left');
var butt=where.appendChild(document.createElement('div'));
butt.className = 'presence_bar_button presence_section';
butt.style.cursor = 'pointer';
butt.style.color = 'red';
butt.style.fontSize = '18px';
butt.title = 'Select All Friends';
butt.style.fontWeight = 'bold';
butt.appendChild(document.createTextNode('+'));
butt.addEventListener('click', function() {
elms = document.getElementById('friends').getElementsByTagName('li');
for(var fid in elms){
if(typeof elms[fid] === 'object'){
unsafeWindow.fs.click(elms[fid]);
}
}
}, false);
