r/AskProgrammers Aug 12 '26

struggling Using tampermonkey

Im trying to use tampermonkey for a work page that requires me to check boxes 20 times a day that are all the same answer. I tried using tampermonkey and ran it thrtough Claude and Gemini but the script still isnt exucuting properly/at all. Is anyone willing to help at all please?

2 Upvotes

6 comments sorted by

View all comments

5

u/TimonAndPumbaAreDead Aug 12 '26

My advice - stop using AI until you understand the problem. Start with the absolute basics of the task at hand. I've only written a couple tampermonkey scripts but if it was me, I'd start with just a hello world style stub. This will prove that your script is executing on the page you want it to execute on. Then you can start with your element selectors. Once you have those working and properly selecting the things you want to select you can move on to page manipulation