Коментар към How do I upload a script? от Deleted user 1295554 беше докладван 17.03.2025 за Спам

Deleted user 1295554 каза:

// ==UserScript==
// @name Fake FPS Display (119-121 FPS) for Bloxd.io
// @namespace http://bloxd.io
// @version 1.1
// @description Displays a fake FPS counter fluctuating between 119 and 121 FPS
// @author Bloxd Dark
// @match *://*.bloxd.io/*
// @grant none
// ==/UserScript==

(function() {
'use strict';

console.log("🎛️ Fake FPS Counter Script Loaded!");

// إنشاء عنصر لإظهار FPS
let fpsCounter = document.createElement("div");
fpsCounter.id = "fake-fps";
fpsCounter.style.position = "fixed";
fpsCounter.style.top = "10px";
fpsCounter.style.left = "10px";
fpsCounter.style.background = "rgba(0, 0, 0, 0.7)";
fpsCounter.style.color = "lime";
fpsCounter.style.fontSize = "14px";
fpsCounter.style.fontFamily = "Arial, sans-serif";
fpsCounter.style.padding = "5px 10px";
fpsCounter.style.borderRadius = "5px";
fpsCounter.style.zIndex = "9999";

document.body.appendChild(fpsCounter);

// دالة لتحديث FPS بشكل متغير بين 119 و 121
function updateFakeFPS() {
let fakeFPS = 119 + Math.floor(Math.random() * 3); // يولد رقم بين 119 و 121
fpsCounter.textContent = `FPS: ${fakeFPS}`;
}

// تحديث الـ FPS الوهمي كل 500 مللي ثانية لجعل الحركة طبيعية
setInterval(updateFakeFPS, 500);

})();

Този доклад е одобрен от модератор.