NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @namespace https://openuserjs.org/users/sarilouis // @name CNN - Prevent Video Autoplay // @description Prevent videos on cnn.com from playing automatically // @include https://*.cnn.com/* // @version 1.0.0 // @license MIT // @run-at document-start // @grant none // ==/UserScript== // ==OpenUserJS== // @author sarilouis // ==/OpenUserJS== var fixed = false; window.addEventListener('beforescriptexecute', function (e) { if (e.target.innerHTML.search("false : autoStartVideo") > 0) { fixed = true; e.target.innerHTML = e.target.innerHTML.replace("false : autoStartVideo", "false : false"); } if (fixed) window.removeEventListener(e.type, arguments.callee, true); }, true);