YouTube Stop AUTOPLAY (OBSOLETE)

Stop videos from auto playing

< Feedback on YouTube Stop AUTOPLAY (OBSOLETE)

Review: OK - script works, but could use improvement

§
Posted:
Just a reminder

When I try to install the script,an error 'Error installing user script: Error: @run-at document-body is an invalid value' popped up.Please fix this:o
http://wiki.greasespot.net/Metadata_Block#.40run-at
https://github.com/scriptish/scriptish/wiki/Manual%3A-Metadata-Block#run-at-new-in-scriptish
§
Posted:
Change it to "document-start", and wrap everything with
document.addEventListener ('DOMContentLoaded', function () {
    // Original code here
}, false);
And it should work if I didn't made a typo.
§
Posted:
Are you using greasemonkey? I made it to conform with tampermonkey.
§
Posted:
Sorry for the late reply... I use scriptish. I think the method above should work:]

Post reply

Sign in to post a reply.