Custom Group CSV export bookmarklet
Jan. 26th, 2010 05:20 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
On the off chance you want to get a list of your friends and what custom groups they are in, I've knocked up a quick and dirty export bookmarklet.
Step 1)Drag Save this link
to your bookmarks.
Step 2) Go to the custom group page.
Step 3) Click on the bookmarklet.
(I'm working on consolidating my address book, and making sure people on FB and LJ have the same access level on each)
Step 1)
javascript:(function(){ var fm=document.fg; var gl = fm.list_groups; var j; for (j=0; j<gl.length; j++) { var gn = gl[j].text; var sg = gl[j].value; for (i=0; i<fm.elements.length; i++) { var nm = fm.elements[i].name; var mk = fm.elements[i].value; if (nm.substring(0, 21) == "editfriend_groupmask_") { var u = nm.substring(21, nm.length); var d = u; if (document.getElementById) { d = document.getElementById('nameremap_' + u); if (d) { d = d.value; } else { d = u; } if (1==j) {document.write(d+',<br>');} if (mk & (1 << sg)) {document.write(d+','+gn+'<br>');} } } } }}())
to your bookmarks.
Step 2) Go to the custom group page.
Step 3) Click on the bookmarklet.
(I'm working on consolidating my address book, and making sure people on FB and LJ have the same access level on each)
no subject
Date: 2010-01-26 05:25 pm (UTC)no subject
Date: 2010-01-26 05:27 pm (UTC)no subject
Date: 2010-01-26 05:30 pm (UTC)