twitch-points-autoclicker icon indicating copy to clipboard operation
twitch-points-autoclicker copied to clipboard

Clicker stops working if "back" in the browser is clicked, then turn to same page

Open MrSimonC opened this issue 3 years ago • 0 comments

Lite version 1.3: Using Microsoft Edge v90 (with uBlock origin installed).

I've noticed that the initial start up is all fine, it attaches to the element on the first attempt, and later (say 10 mins), when a bonus box appears, console outputs: 'Twitch Points Autoclicker: Clicked!'. Showing the code works fine.

Trying to work out when it stops working, I went back in my browser - which mini-fies the player to the bottom left. Then, click in the mini-player to maximise back the same window/twitch channel. i.e. don't click another twitch channel, instead go back to the original stream.

At this point twitch has blanked out the chat, so reloads it at that point (and I can't confirm, as I can't see the event-trigger-attachments in the web tools) but it's as if the javascript loses the binding to the "appear" event (if memory of the code serves me) - so the bonus box doesn't trigger the event and therefore doesn't get clicked again 10 minutes later.

Maybe you can try re-creating?

MrSimonC avatar May 21 '21 16:05 MrSimonC