venerdì 13 gennaio 2012

Invite all friends - update for Chrome Users

A small update to my "famous" post:

http://giacobam.blogspot.com/2011/03/inviting-all-your-friends-to-facebook.html

The new version of Chrome (and Chromium based browser) does not allow to paste links starting with "javascript:" into the browser bar.

To use the script, you need to open the javascript console (press ctr + shift + J) and paste it there, without the javascript: part. Chrome script are:



Version 1:

elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()};

Version 2:
var elms=document.getElementsByName("checkableitems[]");for(var count=0;count<elms.length;count++){var t = setTimeout("elms["+count+"].click()",100)}



Let me use this post also to "sponsor" a very nice, non-profit site: Kiva - loans that change lives
Kiva allows you to lend small amount of money to a specific low-income entrepreneur and project across the globe. Please take a look!

2 Comments:

Valerio Carboni ha detto...

There's one more method for chrome users. You can copy and paste the original string (the one beginning with "javascript:") and then add manually "javascript:" at the beginning of the pasted string (in which does not compare "javascript:")

Unknown ha detto...

GENIO ! thanks a LOT


site by  wellD, web-communication, Lugano