Stops Youtube videos from autoplaying
这些是代码更新过的版本。 显示所有版本
Small update
Switched to a different approach.
Added a fix for when the yt page loads in the background using page visibility api
Forgot to switch back to setInterval
Youtube changed some stuff with the way the html loads. I simplified the script and took a dumb approach instead of all those event handlers.