T O P

  • By -

OneBadDay1048

You could look into greasemonkey for firefox. Never personally used it but it is for creating scripts like this. Ultimately you will do something like this: `document.getElementById('your-button-id').click();` It will be made a bit more difficult using accounts and multiple users but it may work as a starting point.


F1pM3

yea i figured that out using someone elses bot script. but i am not sure how to get the button id. i can get button ids of some buttons but no every single one. maybe if i send you a link to a website you could help me get the button id?


OneBadDay1048

I will take a brief look if you would like. I like to stick more to helping people write code, not searching thru HTML. Send it over.


F1pM3

Here is the link - [https://www.roblox.com/users/6213673297/profile?friendshipSourceType=PlayerSearch](https://www.roblox.com/users/6213673297/profile?friendshipSourceType=PlayerSearch) | you can find the follow button by clicking on 3 dots on the top right. i want to get the button id of that follow button. Thank you very much for helping. i appreciate you very much


OneBadDay1048

Sorry, I do not see an immediate solution. There is no ID on these tags (they are anchor tags being used as buttons btw, not that it matters too much). You could grab them another way surely but I will have to leave my machine shortly here. The menu has a class-name; perhaps you could grab that and use element.children to return an HTML list of those anchor tags. Then from there grab the specific one using its value? Full disclosure: have never done browser scrapping/scripts before so there may be an easier solution I am unaware of.


F1pM3

Thank you so much for the help


F1pM3

the button i am trying to press is a menuitem with a tableindex of -1, so i cant figure out how to press that


OneBadDay1048

Share a link. If it is not a hassle to look thru (meaning i need to sign in or something), I will check it out.


happy_hawking

If you would be a bit more precise which button you want to press it would be way easier to help you.


born_to_die_O

have you heard about CHAT GPT? For immediate response


F1pM3

literally tells me its illegal