您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
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
- })();