mitpod

Rotates and inverts the video element on the page.

  1. // ==UserScript==
  2. // @name mitpod
  3. // @namespace https://www.twitch.tv/mitpod
  4. // @version 0.1
  5. // @description Rotates and inverts the video element on the page.
  6. // @author Your Name
  7. // @match https://www.twitch.tv/mitpod
  8. // @match https://www.twitch.tv/lightbaytv
  9. // @match https://www.twitch.tv/nobkfilmremake
  10. // @grant none
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16.  
  17. setTimeout(function() {
  18. (s => {
  19. s.transform = s.transform ? '' : 'rotate(180deg)';
  20. s.filter = s.filter ? '' : 'invert(1)';
  21. })(document.querySelector('video').style);
  22. }, 900); // 5000 milliseconds = 5 seconds
  23. })();