Advertisement
Guest User

Untitled

a guest
Apr 27th, 2021
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name     Rainbow :3
  3. // @version  1
  4. // @include  *strm.pl*
  5. // @grant    none
  6. // ==/UserScript==
  7.  
  8. const style = document.createElement('style');
  9.  
  10. style.innerText = `
  11.     @keyframes rainbow {
  12.         0% { filter: hue-rotate(0); }
  13.         100% { filter: hue-rotate(359deg); }
  14.     }
  15.  
  16.     body {
  17.         animation: rainbow 1s ease-in-out infinite;
  18.     }
  19. `;
  20.  
  21. document.head.appendChild(style);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement