Survev.io Dark Cyan Theme w/ FPS & Ping Counter

skibidi ?

Versione datata 30/10/2024. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Survev.io Dark Cyan Theme w/ FPS & Ping Counter
// @namespace    http://tampermonkey.net/
// @version      1.0.2
// @description  skibidi ?
// @author       Thợ săn trẻ con & Bánh Chiên giòn
// @match        https://survev.io/
// @icon         data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAyADIDASIAAhEBAxEB/8QAGwAAAgMBAQEAAAAAAAAAAAAAAAYEBQcDAgH/xAA5EAACAQMDAgQDBgENAAAAAAABAgMEBREABiESMRMiQVEHcYEUMkJSYaFyFRYjJTM1dJGSk7Gy0f/EABkBAQEAAwEAAAAAAAAAAAAAAAMEAQIFAP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DjXmZtPDuEzyGOOlRCx6VMvIGex0atquiustVNJHHhHdmUE+hJ0aszMBoyfF/bFLRUtils4alqUZ6UFD3j6HYD5gsQP0ODka1OxU6XmxberKyPxJI6VJUmBwys0XS3+YPb/zSL8RatKy9UsMfnjtrKZPYyv8A0nR8xHESfbrGotg3TdrRWGhoPss1vigSUUs6lcdbPnpdeV5HYhhz6agtqexBp5Eaq1VGtk0uqutn2xT0duYyRqkQEMEMLysI14yekHjPqe513gFs3AlDcoG8b7O7mGRcoyMQVdSDyP1BHoNZ1uXfu3Eanq9zWu50k4VoUendJepfvEcMCQMZyV4z+upN237S7OsDz0e3a5Y5JOtFrKmKN5nbHIUMzHjB4HAGoDU6kAjBlwCWV5Hf+T1vqvk23T2m2Wu3SpTQyS1XiuCYzJh28zfibLPIQMk4HvpAsHVWUd2q75L1XepgWgpoG/tQsgSSSVh+EKP3IHfUzcm47vub+QKtqyFqeorI44KekjKxr4gK5LN5mbuOcAc8a4X2ZLder9UQgKsd1poWYDkoEjUgn25OupTSVQK3mQPaNiUHGJYTPV+NJ0xOV6jg4786NT/GkXyhjxx30apkW4+Jwr+aIseWe9XEsfViBKBn34AHyGq6g/vmb/A0/wD2fRo1pX4iWczO98O0m7K9ZGZ1RYlQMchQVyQPYE6XaaeWoEklRK8rr5FZ2LEL7An00aNDb6pbV7X6jz8MXb+dVPB1HwVuFK6x58oYxOSQO2SfXV7uXmLdOef60bv8k0aNMvn8QH9yM0AzDGTySo50aNGknPn/2Q==
// @license GNU General Public License v3.0
// @grant        none
// ==/UserScript==
//fps
(function() {
    'use strict';

let MAX = 144; //frame rate you desire
requestAnimationFrame = (a) => setTimeout(a, 1e3/MAX)
})();
(function() {
var fp = document.createElement("p");
var fp1 = document.getElementsByClassName("ui-team-member ui-bg-standard")[0];
fp1.parentNode.appendChild(fp);
fp1.parentNode.insertBefore(fp,fp1);
let times = [];

const getFPS = () => {
    window.requestAnimationFrame(() => {
        const now = performance.now();

        while(times.length > 0 && times[0] <= now - 1000) times.shift();
        times.push(now);
        fp.style.fontSize = "20px";
        fp.style.textShadow = "rgb(255, 255, 255) 1px 0px 0px, rgb(255, 255, 255) 0.540302px 0.841471px 0px, rgb(255, 255, 255) -0.416147px 0.909297px 0px, rgb(255, 255, 255) -0.989992px 0.14112px 0px, rgb(255, 255, 255) -0.653644px -0.756802px 0px, rgb(255, 255, 255) 0.283662px -0.958924px 0px, rgb(255, 255, 255) 0.96017px -0.279415px 0px";
        fp.innerHTML = `${times.length} fps`;
        fp.style.position = "relative";
        fp.style.left = "5px";
        fp.style.top = "-5px";
        if(times.length <= 60){
            fp.style.color = "#FF0000";
        } else {
            fp.style.color = "#008000";
        }
        if(document.getElementById("game-area-wrapper").style.display == "block"){
        }
        getFPS();
    });
}
getFPS();
})();
//ping
(function() {
    'use strict';
var el = document.createElement("p");
var el2 = document.getElementsByClassName("ui-team-member ui-bg-standard")[0];
el2.parentNode.appendChild(el);
el2.parentNode.insertBefore(el,el2);

const getPing = () => {

let ping = new Date;

    let request = new XMLHttpRequest();
    request.open(`GET`, window.location.href, true);

    request.onload = (() => {
        el.style.fontSize = "20px";
        el.style.textShadow = "rgb(255, 255, 255) 1px 0px 0px, rgb(255, 255, 255) 0.540302px 0.841471px 0px, rgb(255, 255, 255) -0.416147px 0.909297px 0px, rgb(255, 255, 255) -0.989992px 0.14112px 0px, rgb(255, 255, 255) -0.653644px -0.756802px 0px, rgb(255, 255, 255) 0.283662px -0.958924px 0px, rgb(255, 255, 255) 0.96017px -0.279415px 0px";
        el.innerHTML = `${new Date - ping} ms`;
        el.style.position = "relative";
        el.style.left = "5px";
        el.style.top = "-5px";
        if(new Date - ping >= 100){
            el.style.color = "#FF0000";
        } else {
            el.style.color = "#008000";
        }
        if(document.getElementById("game-area-wrapper").style.display == "block"){
        }
        setTimeout(getPing, 500);
    });
    request.send();
};
getPing();
})();
(function() {
    'use strict';
    var lastHP = 0
    var health = document.createElement("span");
    health.style = "display:block;position:fixed;z-index: 2;margin:6px 0 0 0;right: 15px;mix-blend-mode: difference;font-weight: bold;font-size:large;";
    document.querySelector("#ui-health-container").appendChild(health);

    var adr = document.createElement("span");
    adr.style = "display:block;position:fixed;z-index: 2;margin:6px 0 0 0;left: 15px;mix-blend-mode: difference;font-weight: bold;font-size:large;";
    document.querySelector("#ui-health-container").appendChild(adr);

    setInterval(function(){
        var hp = document.getElementById("ui-health-actual").style.width.slice(0,-1)
        if(lastHP !== hp){
            lastHP = hp
            health.innerHTML = Math.round(hp)
        }
        var boost0 = document.getElementById("ui-boost-counter-0").querySelector(".ui-bar-inner").style.width.slice(0,-1),
            boost1 = document.getElementById("ui-boost-counter-1").querySelector(".ui-bar-inner").style.width.slice(0,-1),
            boost2 = document.getElementById("ui-boost-counter-2").querySelector(".ui-bar-inner").style.width.slice(0,-1),
            boost3 = document.getElementById("ui-boost-counter-3").querySelector(".ui-bar-inner").style.width.slice(0,-1),
            adr0 = boost0*25/100 + boost1*25/100 + boost2*37.5/100 + boost3*12.5/100
        adr.innerHTML = Math.round(adr0)
    })
})();

(function() {
    'use strict';
function GM_addStyle(cssStr){

    var n = document.createElement('style');
    n.type = "text/css";
    n.innerHTML = cssStr;
    document.getElementsByTagName('head')[0].appendChild(n);

}
// checkbox color (stole from sk :lmao:)
// CSS
GM_addStyle(`
#modal-customize {
  backdrop-filter: brightness(0.5) !important;
}
//animation
@keyframes pulseKeybind {
  0%: {background-color: #2b646a !important;}
  50%: {background-color: #3c8e96 !important;}
  100%: {background-color: #2b646a !important;}
}
.ui-keybind-container>.btn-keybind-desc-selected {
  border-color: #00ffff !important;
}
html, body {
  background: #00ffff !important;
}
input[type="checkbox"], input[type="range_"], input[type="textbox"], .ui-emote-quarter .ui-emote-hl, #customize-emote-autos .ui-emote-hl {
  filter: grayscale(1) !important;
}
input[type=text]:focus {
  border: none !important;
}
* {
  font-familyy: 'Brush Script', cursive !important;
}
/*untouchable*/
#ui-weapon-id-1, #ui-weapon-id-2, #ui-weapon-id-3, #ui-weapon-id-4, .ui-zoom-inactive, .ui-zoom-active,#ui-settings-container-desktop>.ui-settings-button, #ui-equipped-ammo, #ui-bullet-counter #ui-current-clip, #ui-interaction, #ui-lower-center, #ui-interaction-press {
  pointer-events: none !important;
}
/*setting*/
#start-bottom-right {
  transition: 0.3s !important;
  opacity: 0 !important;
}
#btn-game-tabs>.btn-game-container>.btn-game-menu-selected, .customize-list-item-selected, .btn-hollow-selected {
  border-color: #00ffff !important;
}
#start-bottom-right:hover {
  opacity: 1 !important;
}
/*text*/
.news-header, .news-paragraph>.highlight {
  color: #00ffff !important;
}
/*inside ig*/
#ui-modal-keybind-header, #ui-modal-keybind-body, #ui-modal-keybind-footer,.modal-header,.modal-body, .modal-customize-cat-selected, #modal-customize-footer, .modal-content-right {
  background-color: rgba(0,0,0,0.5) !important;
}
.modal-customize-cat-connect {
  background: #00ffff !important;
}
/*color*/
.btn-green, #ui-modal-keybind-footer>.btn-game-menu, .btn-start-mute {
  background-color: #2b2b2b !important;
  border-bottom: #2b2b2b !important;
  box-shadow: inset 0 -2px #3b3a3a !important;
}
.btn-team-option, .ui-keybind-container>.btn-keybind-desc {
  background-color: #2b646a !important;
  border-bottom: #2b646a !important;
  box-shadow: inset 0 -2px #3c8e96 !important;
}
#btn-team-mobile-link-leave, #btn-team-leave, #ui-modal-keybind-footer>.btn-game-menu:last-child {
  background-color: #870000 !important;
  border-bottom: #bf0202 !important;
  box-shadow: inset 0 -2px #bf0202 !important;
}
.player-name-input, #team-link-input {
  background-color: #252626 !important;
  color: #fff !important;
}
.btn-settings, .btn-keybind, #btn-start-fullscreen, #btn-game-fullscreen, .audio-on-icon, #btn-game-quit, #btn-game-resume, #ui-game-tab-keybinds>.btn-keybind-restore {
  background-color: #2b646a !important;
  border-bottom: #2b646a !important;
  box-shadow: inset 0 -2px #3c8e96 !important;
  background-size: 44px !important;
  background-position: 2px -3px !important;
  background-repeat: no-repeat !important;
}
.btn-settings {
  background-image: url(../img/gui/cog.svg) !important;
}
.btn-keybind {
  background-image: url(../img/gui/keyboard.svg) !important;
}
#btn-start-fullscreen, #btn-game-fullscreen {
  background-image: url(../img/gui/minimize.svg) !important;
}
.audio-on-icon {
  background-image: url(../img/gui/audio-on.svg) !important;
}
.audio-off-icon {
  background-image: url(../img/gui/audio-off.svg) !important;
}
#btn-game-quit {
  background-image: url(../img/gui/quit.svg) !important;
}
#btn-game-resume {
  background-image: url(../img/gui/resume.svg) !important;
}
/*stole from an osu skin*/
#background {
background-image: url(https://i.ibb.co/80fx6nC/Junako-D.png) !important;
}
#ad-block-left, #social-share-block {
  pointer-events: none !important;
  opacity: 0 !important;
}
#btn-help, #start-help {
  display: none !important;
}
#start-row-top {
   transition: 0.3s !important;
   opacity: 0 !important;
   position_: relative !important;
   left_: 331px !important;
}
#team-menu, #team-mobile-link  {
   position: relative !important;
   right: 165px !important;
}
#btn-team-mobile-link-leave {
   position: relative !important;
   left: 206px !important;
   bottom: 0px !important;
}
#start-row-top:hover {
   opacity: 1 !important;
}
#news-block {
  opacity: 0 !important;
  transition: 0.3s !important;
}
#news-block:hover {
  opacity: 1 !important;
}
#game-touch-area {
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAACeZJREFUWEe9mXmMXWUZxn/vd85dZ70zaacbbW2nRdoC1iI7MrKoRSQanMYIGJEEE6OSSFSi4kxBDWowcYkJJECiYkzrFqzgAnSqqRXDWIV2lG62MF2mkzt31rudc77X+c7cgVIozBTw/HOSObnfec67PO/zPiOcxqWqwsaNQlcXbN4szJkj0AF7eiU+buU6hR4YHFQ6O5WNG6GrS0VEZ/u6qQNf51IQuruFVauEQsFwxhWGaMTDlj1snYdWPdIJQ9mbOi8dKeXAIskIMxFh0hFeU8QLT1pyOUtfn9LdrQKvC/g1AcbAVGEzBvo8MiWfEgkwSTImiRemsZJEwyTi+1hjYoDGWjQMEb+K0SqRX6Zkq2CrZAgoZUJYFdGJRWTy608N9JQA4zRu3uxe6JFZ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htAcYjAozAqgtfZ6CxqFhvd/iXuGh2meCUAvSaFUoLRhNWFXF24crX4ZwNESbOs7BcCTUyxyCVY/wAWvmuLLQkuTtcjO//DwbfcwNJMU+ylGyj7lDy4g6uqKR+A5M0/x7JqkxVrOcRvHWInCtV/koZk0ScUy3rCHqlsCOzpiEeHG3gybZHY0c8harrVgKxUr23eaH9/xQHFI5BQ0MxEVTWN2YiRFee1lhN/tJLnI1RxcMnOamSVRW8vFGNrCEEoVvL/18dBdDzL4akRdsbE+DNatI7jtVmTVlMJxYsERtWuQxa9P1K8YdXY1Kq816twcvsFC6EAGgZVqaPJ7DvHYHQ/w/FgRTYfYsk80kiK6Yg321lvjnDpKcHLrvNmOutMRC8et5WMYQus0jEUtiFr0nTfytUwObdiDzvk02t2JtwqcgG2tzeHZiYVXyC3rnYGyagZya8Ba53fg1ITDqQ7pN+42X3ZnXn45pr2DxCJiWnHgltfklmsOJxhmJrfeBMHq9g8n7c+w1jYbY+6Ol31wf59W1dOC1U0at3zNUrDOXvIP1MbVyZI/OEHy1795kv+NLU1uBZhemko1gK4hppcmF7E3tjTFaX5ja6eL3OhbtnbWJPNpLO4tkHWl9hqXE6T9Q298cX8pihhey/pQlsEJ1kfadw5DzfpIuVRAqWZ99OeVsrPhatYHegA5TetjOganZR4hzag6h8tZcKBSRWQcdPhNNY9eBvL17Det2W/MwH5THULeJPvt5SBnaGCqZkBdfn2MUaxGb6mB+SLI2VjAoe/j1SzgyFr8t9gCPrEvZ2Si55qFQnnKo86lLYVhfctN9FORx//z3xD/A70RgIEp9qnkAAAAAElFTkSuQmCC)20 20, auto !important;
}
#btn-customize {
  background-image: url(../img/emotes/surviv.svg) !important;
  background-size:  !important;
  background-color: #2b646a !important;
  border-bottom: #2b646a !important;
  box-shadow: inset 0 -2px #3c8e96 !important;
}
`);
})();