Created
November 12, 2022 21:56
-
-
Save Rmlyy/f80c010f35475b7bba536bb1b933d540 to your computer and use it in GitHub Desktop.
Tampermonkey userscript for Boosteroid contrast and brightness
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Boosteroid Contrast | |
// @namespace https://boosteroid.com | |
// @version 0.1 | |
// @description Changes stream contrast and brightness to 100% | |
// @author Rmly | |
// @match https://cloud.boosteroid.com/static/streaming/streaming.html?session=* | |
// @icon https://cloud.boosteroid.com/favicon.ico | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// wait for the stream to start | |
setTimeout(() => { | |
document.getElementById('remotevideo').style.filter = 'contrast(100%) brightness(100%)' | |
console.log('Contrast and brightness set!') | |
}, 35 * 1000) // 35 seconds | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment