Browser Source: can I detect events taking place inside the website?


New Member
Concretely speaking, I want a scene to automaticallly change for another one if certain thing happens in a website, one that its content is shown in a Browser Source. Is this posible with some sort of macro or script? I'm familiar with the existence of Event Listeners in JavaScript but IDK how would I do that.