RemoveAdblockThing
RemoveAdblockThing copied to clipboard
Detect navigation instead of infinite setInterval() loop
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.
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.