ibneko: (Default)
javascript:list = document.getElementById('friend_add_main').parentNode.childNodes;for(var i=1; i<list.length; i++) { id = list[i].id.substr(11); CSS.removeClass($("addToFLRequests_"+id), 'addToFLRequests_Hidden');document.getElementById("add_to_friend_list_widget_select_"+id).selectedIndex = 1;document.getElementById("add_to_friend_list_widget_select_"+id).onchange();handle_request_click("friend_add", id, "accept");} This, like the all-in-one-step listed here: http://ibneko.livejournal.com/740242.html, adds each request into the first friend list (if you want the second friends list, change ".selectedIndex = 1" to ".selectedIndex = 2". Third list, do 3, etc.), then confirms each person as a friend.
ibneko: (Default)
Because when you have 30+ new friends on facebook, all from one source, and you _reaaaally_ don't want to slowly accept each and every one:

copy/paste into your browser address bar:
set them all to friend list 1 (limited profile)
javascript:list = document.getElementById('friend_add_main').parentNode.childNodes;for(var i=1; i<list.length; i++) {    id = list[i].id.substr(6);        document.getElementById("add_to_friend_list_widget_select_"+id).selectedIndex = 1;document.getElementById("add_to_friend_list_widget_select_"+id).onchange();}

Then Accept everyone.
javascript:list = document.getElementById('friend_add_main').parentNode.childNodes;for(var i=1; i<list.length; i++) {    id = list[i].id.substr(6);        click_add_friend(id, 0, 0, '', 'accept', 'Confirm', 'Does Not Attend', 'I Don\'t Know');}

Or you can do it all in one step, if you're only doing one, limited profile list (I did 2 per person, so..):
javascript:list = document.getElementById('friend_add_main').parentNode.childNodes;for(var i=1; i<list.length; i++) {    id = list[i].id.substr(6);        document.getElementById("add_to_friend_list_widget_select_"+id).selectedIndex = 1;document.getElementById("add_to_friend_list_widget_select_"+id).onchange();click_add_friend(id, 0, 0, '', 'accept', 'Confirm', 'Does Not Attend', 'I Don\'t Know');}


Here's the code, reformatted to read nicer:
javascript:
list = document.getElementById('friend_add_main').parentNode.childNodes;
for(var i=1; i<list.length; i++)
{
    id = list[i].id.substr(6);
    document.getElementById("add_to_friend_list_widget_select_"+id).selectedIndex = 1;
    document.getElementById("add_to_friend_list_widget_select_"+id).onchange();
    click_add_friend(id, 0, 0, '', 'accept', 'Confirm', 'Does Not Attend', 'I Don\'t Know');
}


Props to TJ M. for coming up with most of it. I was being relatively lazy.
ibneko: (Default)
Global:
javascript:var%20d=document;var%20s=d.getElementsByTagName("*");for(var%20i=0;i<s.length;i++){s[i].innerHTML=s[i].innerHTML.replace(/fuck|cunt|bitch|cock|shit|piss/ig,'bubbles');}


Restricted to divs:
javascript:var%20d=document;var%20s=d.getElementsByTagName("div");for(var%20i=0;i<s.length;i++){s[i].innerHTML=s[i].innerHTML.replace(/fuck|cunt|bitch|cock|shit|piss/ig,'bubbles');}


Because I was somewhat bored. Find a page that has bad words, copy and paste the above line into your browser location and hit enter.

In short, it grabs the document, searches for elements by tags and loads that into an array, then steps through the array, replacing any instances of "fuck, cunt, bitch, cock, shit, piss", with "bubbles".
ibneko: (Default)
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName(%22img%22); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+%22px%22; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+%22px%22}R++}setInterval('A()',5); void(0)

By way of [livejournal.com profile] porsupah.

Also from him, "Jesus Camp" has been closed

Also, the one-second condom [http://www.prontocondoms.co.za/index.htm] (Pronto Condoms). Includes demo movie.

Expand Cut Tags

No cut tags

Profile

ibneko: (Default)
ibneko

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Page generated Jun. 24th, 2017 12:05 pm
Powered by Dreamwidth Studios
November 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2016