// ==UserScript== // @name Nivo stream auto start // @namespace http://nooto.com // @version 1.0 // @description Automatisch starten van stream // @author Nooto // @match https://www.nieuw-volendam.nl/nivo-tv/* // @match https://app.canvastix.nl/player/* // @grant GM_addStyle // ==/UserScript== setTimeout(PrivacyButtonVerbergen, 2000); setTimeout(StartLivestream, 2500); function StartLivestream() { var buttonElements = $("a.subscribebtn.play"); if (buttonElements.length > 0) { buttonElements[0].click(); } } function PrivacyButtonVerbergen() { var wrappers = $("div.cmpwrapper"); if (wrappers.length > 0) { var shadowElement = wrappers[0].shadowRoot; if (shadowElement != null) { $(shadowElement).find("#cmpboxrecall").css("display", "none") } } }