// ==UserScript== // @name Reuters Video Unmute // @namespace https://greasyfork.org/users/28298 // @version 0.6 // @description Auto unmute Reuters Video! // @author Jerry // @match *://www.reuters.com/video/* // @icon https://www.google.com/s2/favicons?sz=64&domain=reuters.com // @noframes // @license GNU GPLv3 // @require https://greasyfork.org/scripts/456410-gmlibrary/code/GMLibrary.js // @downloadURL none // ==/UserScript== (function() { 'use strict'; var interval = setInterval(function(){ var unmute = findx('//button[@title="Unmute"]'); if (unmute) { unmute.click(); // findx('//button[@title="Closed Captions"]').click() // only works for the first video :( clearInterval(interval); } }, 50); })(); // end of main function