Blacket Moving Background Diagonal

Makes background.webp slowly move diagonally to top left on Blacket blooks background

  1. // ==UserScript==
  2. // @name Blacket Moving Background Diagonal
  3. // @version 1.0.0
  4. // @description Makes background.webp slowly move diagonally to top left on Blacket blooks background
  5. // @match https://*.blacket.org/*
  6. // @grant none
  7. // @namespace https://gf.qytechs.cn/users/1479014
  8. // ==/UserScript==
  9.  
  10. (() => {
  11. const css = `
  12. @keyframes animatedBackground {
  13. 0% {
  14. background-position: 0 0;
  15. }
  16. 100% {
  17. background-position: -100px -100px;
  18. }
  19. }
  20.  
  21. .styles__blooksBackground___3oQ7Y-camelCase {
  22. background-image: url('/content/background.webp') !important;
  23. background-repeat: repeat;
  24. background-size: auto;
  25. animation: animatedBackground 9s linear infinite;
  26. -moz-animation: animatedBackground 9s linear infinite;
  27. -webkit-animation: animatedBackground 9s linear infinite;
  28. -ms-animation: animatedBackground 9s linear infinite;
  29. -o-animation: animatedBackground 9s linear infinite;
  30. }
  31. `;
  32.  
  33. const style = document.createElement('style');
  34. style.textContent = css;
  35. document.head.appendChild(style);
  36. })();
  37.  

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址