This script starts when the website is loaded. If it's loading infinitely, just stop it manually - then the script will start ;)
I recommend to use adblock (i.e. AdGuard) in order to script works properly. This is just a simple script and ads are just video tags, so it works on them too, so it can cause problems.