Hacker News new | ask | show | jobs
by Waterluvian 3 days ago
Is this as easy as calling getComputedStyle on a target element or is there more to it? I love the idea and I want to experiment with automating similar.
2 comments

Thanks. Gah I feel blind. I went back and it’s right there at the top
Ha there were a few buttons on the page that might’ve been distracting lol
Yes, but how does it decide if an element is button? Some are links (<a> tags).