No Animations

Clear all animations on websites

  1. // ==UserScript==
  2. // @name No Animations
  3. // @namespace No Animations Script
  4. // @version 3.3
  5. // @description Clear all animations on websites
  6. // @author Nameniok
  7. // @match *://*/*
  8. // @license MIT
  9. // @grant GM_addStyle
  10. // @run-at @document-start
  11. // ==/UserScript==
  12.  
  13. GM_addStyle(`
  14. * {
  15. transition: none !important;
  16. transition-property: none !important;
  17. transition-duration: 0s !important;
  18. transition-delay: 0s !important;
  19. transition-timing-function: initial !important;
  20. -webkit-transition: none !important;
  21. -moz-transition: none !important;
  22. -o-transition: none !important;
  23. animation-delay: none !important;
  24. animation-duration: none !important;
  25. -webkit-animation-delay: 0 !important;
  26. -webkit-animation-duration: 0 !important;
  27. -moz-animation-delay: 0 !important;
  28. -moz-animation-duration: 0 !important;
  29. -o-animation-delay: 0 !important;
  30. -o-animation-duration: 0 !important;
  31. scroll-behavior: auto !important;
  32. marquee-style: none !important;
  33. -moz-scroll-behavior: auto !important;
  34. -moz-marquee-style: none !important;
  35. }
  36.  
  37. *::before, *::after, *::hover, *::active {
  38. transition: none !important;
  39. transition-property: none !important;
  40. transition-duration: 0s !important;
  41. transition-timing-function: initial !important;
  42. -webkit-transition: none !important;
  43. animation-delay: none !important;
  44. animation-duration: none !important;
  45. -webkit-animation-delay: 0 !important;
  46. -webkit-animation-duration: 0 !important;
  47. -moz-animation-delay: 0 !important;
  48. -moz-animation-duration: 0 !important;
  49. }
  50.  
  51. *:before, *:after, *:hover, *:active {
  52. transition: none !important;
  53. transition-property: none !important;
  54. transition-duration: 0s !important;
  55. transition-timing-function: initial !important;
  56. -webkit-transition: none !important;
  57. animation-delay: none !important;
  58. animation-duration: none !important;
  59. -webkit-animation-delay: 0 !important;
  60. -webkit-animation-duration: 0 !important;
  61. -moz-animation-delay: 0 !important;
  62. -moz-animation-duration: 0 !important;
  63. }
  64.  
  65. input, textarea, button, select, div, a {
  66. -webkit-tap-highlight-color: transparent;
  67. }
  68.  
  69. img[src^="https://i.ytimg.com/an_webp/"] {
  70. display: none !important;
  71. }
  72.  
  73. img[src*="/hqdefault.jpg"] {
  74. display: initial !important;
  75. }
  76. `);