Since facebook changed the invite window design, all of us had to change the javascript code we were using for a new one.
Instead of using the well known
javascript:fs.select_all()
I have to start using this one, than only worked well with Firefox
javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms.type="checkbox" )elms.click()};
or
javascript:elms=document.getElementsByName("checkableitems[]");for(count=0;count<elms.length;count++){setTimeout("elms["+count+"].click()",100)}
Now since last week in many of my FB accounts when i try to use the first code it gest me to a white screen page showing just this "()"
And when i try to use the second it gets me to a white screen page with this written "[object HTMLCollection]"
In other accounts IT WORKS FINE but i think that in less than a month it wont work with any.
Im using all my fb accounts with the same browser (FIREFOX 4.0)
Someone knows something about this?
Instead of using the well known
javascript:fs.select_all()
I have to start using this one, than only worked well with Firefox
javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms.type="checkbox" )elms.click()};
or
javascript:elms=document.getElementsByName("checkableitems[]");for(count=0;count<elms.length;count++){setTimeout("elms["+count+"].click()",100)}
Now since last week in many of my FB accounts when i try to use the first code it gest me to a white screen page showing just this "()"
And when i try to use the second it gets me to a white screen page with this written "[object HTMLCollection]"
In other accounts IT WORKS FINE but i think that in less than a month it wont work with any.
Im using all my fb accounts with the same browser (FIREFOX 4.0)
Someone knows something about this?