Before I start, I'd like to point out I'm completely new to programming, so I hope my question isn't one that doesn't make sense at all and makes you guys rage. If it is, I'm very sorry, please enlighten me about it.
¨
I'm trying to make a script (in tampermonkey) that will look for a specific text/link on a webpage, and if that text is on the page, it will click on it.
For instance: Let's imagine we refresh the page and sometimes a link called "Bob" appears. I do not know the target of "Bob", so just asking the script to redirect me to the target link isn't an option. I need something that actually clicks on "Bob". U get me? The problem here is I only know the name of the link, and nothing more. So I'd need a script which, first of all, looks for something called Bob, and secondly, clicks on it.
Thanks for helping,
--Bram
¨
PS: I'm completely new to programming, so if you decide to help me out (which I'd greatly appreciate <3) please explain it like I'm a total idiot/newbie. Thanks!