RemoveAdblockThing icon indicating copy to clipboard operation
RemoveAdblockThing copied to clipboard

Detect navigation instead of infinite setInterval() loop

Open CatPieLeaf opened this issue 1 year ago • 1 comments

This PR replaces setInterval() with three event listeners for attempting to swap players only once the user navigates through the page, instead of throwing multiple attempts every second and causing performance issues.

CatPieLeaf avatar Jun 08 '24 19:06 CatPieLeaf

Thanks, this solved other issues as well. Most of embedded videos didn't play with latest 5.6 version and this solution also fixes that issue.

eutudb23 avatar Sep 26 '24 18:09 eutudb23