CyphrNX Ultra-Crosshair

Sci-fi crosshair with rotating, fading effects for Bloxd.io

  1. // ==UserScript==
  2. // @name CyphrNX Ultra-Crosshair
  3. // @namespace http://tampermonkey.net/
  4. // @version 4.6
  5. // @description Sci-fi crosshair with rotating, fading effects for Bloxd.io
  6. // @author CyphrNX
  7. // @match https://bloxd.io/
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=bloxd.io
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. function removeDefaultCrosshair() {
  17. const defaultCrosshair = document.querySelector(".CrossHair");
  18. if (defaultCrosshair) {
  19. defaultCrosshair.remove();
  20. }
  21. }
  22.  
  23. function createCustomCrosshair() {
  24. if (document.getElementById("cyphrnx-crosshair")) return;
  25.  
  26. const crosshair = document.createElement("div");
  27. crosshair.id = "cyphrnx-crosshair";
  28. crosshair.style.position = "fixed";
  29. crosshair.style.top = "50%";
  30. crosshair.style.left = "50%";
  31. crosshair.style.transform = "translate(-50%, -50%)";
  32. crosshair.style.pointerEvents = "none";
  33. crosshair.style.zIndex = "9999";
  34. crosshair.style.display = "flex";
  35. crosshair.style.justifyContent = "center";
  36. crosshair.style.alignItems = "center";
  37. crosshair.style.animation = "rotateCrosshair 5s linear infinite, fadeEffect 3s infinite alternate";
  38.  
  39. crosshair.innerHTML = `
  40. <style>
  41. @keyframes sciFiPulse {
  42. 0% { transform: scale(1); opacity: 1; box-shadow: 0 0 5px red; }
  43. 50% { transform: scale(1.4); opacity: 0.7; box-shadow: 0 0 15px red; }
  44. 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 5px red; }
  45. }
  46. @keyframes rotateCrosshair {
  47. 0% { transform: translate(-50%, -50%) rotate(0deg); }
  48. 100% { transform: translate(-50%, -50%) rotate(360deg); }
  49. }
  50. @keyframes fadeEffect {
  51. 0% { opacity: 1; }
  52. 50% { opacity: 0.5; }
  53. 100% { opacity: 1; }
  54. }
  55. .crosshair-line {
  56. position: absolute;
  57. background-color: red;
  58. box-shadow: 0 0 6px red;
  59. border-radius: 1px;
  60. animation: sciFiPulse 1.5s infinite alternate ease-in-out;
  61. }
  62. .top { width: 2px; height: 10px; top: -12px; }
  63. .bottom { width: 2px; height: 10px; bottom: -12px; }
  64. .left { width: 10px; height: 2px; left: -12px; }
  65. .right { width: 10px; height: 2px; right: -12px; }
  66. .dot {
  67. position: absolute;
  68. width: 4px;
  69. height: 4px;
  70. background-color: red;
  71. border-radius: 50%;
  72. box-shadow: 0 0 10px red;
  73. animation: sciFiPulse 1.5s infinite alternate ease-in-out, fadeEffect 3s infinite alternate;
  74. }
  75. </style>
  76. <div class="crosshair-line top"></div>
  77. <div class="crosshair-line bottom"></div>
  78. <div class="crosshair-line left"></div>
  79. <div class="crosshair-line right"></div>
  80. <div class="dot"></div>
  81. `;
  82. document.body.appendChild(crosshair);
  83. }
  84.  
  85. window.addEventListener("load", () => {
  86. setTimeout(() => {
  87. removeDefaultCrosshair();
  88. createCustomCrosshair();
  89. }, 500);
  90. });
  91. })();

QingJ © 2025

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