I have a javascript code but it is incomplete. I want to search a specific person who liked some facebook post. for example, in any post, if I click on "likes" button it will show the list of people who liked that post. It will show 10 people and then at the botton is written "see more". I want to have a javascript code that will get "person name" from keyboard and compare it with the list who liked the post and if it approaches at bottom, it should autoclick on "see more" to enhance the list for more people search until there is no person left or until the person found.
That javascript code is to be injected in consol of firefox/opera/googleCrhome browsers etc...
var inputs = document.getElementsByClassName('uiButton _1sm');
for(var i=0; i<inputs.length;i++) {
inputs[i].click();
}
Aucun commentaire:
Enregistrer un commentaire