Rotates and inverts the video element on the page.
当前为
// ==UserScript==
// @name mitpod
// @namespace https://www.twitch.tv/mitpod
// @version 0.1
// @description Rotates and inverts the video element on the page.
// @author Your Name
// @match https://www.twitch.tv/mitpod
// @match https://www.twitch.tv/lightbaytv
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
setTimeout(function() {
(s => {
s.transform = s.transform ? '' : 'rotate(180deg)';
s.filter = s.filter ? '' : 'invert(1)';
})(document.querySelector('video').style);
}, 500); // 5000 milliseconds = 5 seconds
})();