Beta adapter Ping/Fps!

This is a beta adapter for your ping/FPS in MooMoo.io! + Remove Ad

目前為 2021-08-24 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Beta adapter Ping/Fps!
// @name:ru      Бета адаптер Ping/Fps!
// @namespace    none
// @version      1.0.0
// @description  This is a beta adapter for your ping/FPS in MooMoo.io! + Remove Ad
// @description:ru Это бета-адаптер для вашего ping/FPS в MooMoo.io! + Удалить Объявление
// @author       You
// @match        *://sandbox.moomoo.io/*
// @match        *://moomoo.io/*
// @match        *://dev.moomoo.io/*
// @icon         https://beginpc.ru/images/internet/js_logo.jpg
// @require      http://code.jquery.com/jquery-3.3.1.min.js
// @require      https://code.jquery.com/ui/1.12.0/jquery-ui.min.js
// @grant        none
// ==/UserScript==
/** Description
* Why is the ping so high?
* 1. A lot of changing elements.
* 2. Let's say a blow to the enemy. When taking damage, you will have a ping.
* 3. Due to rotating buildings, such as: Windmills, a rotating spike.
* 4. It is forbidden to use an animated Rainbow gradient element and text!
* 5. Because of unnecessary elements!
* 6. When you first enter the game!
* 7. If you have third-party programs running on your PC and loading sites in the browser!
*/
(function() {
    'use strict'; // Okay, let's use strict mode
    class Main {
       constructor(status) {
       this.status = status
       }
       RemoveAd() { // Ad
       try {
       console.log("Ad!")
       setTimeout(() => ($('#ot-sdk-btn-floating').remove(), $('#pre-content-container').remove()), 3000) // Remove cookie
       document.getElementById("moomooio_728x90_home").style.display = "none"
       jQuery("#moomooio_728x90_home").parent().css("display", "none")
       jQuery('#adCard').remove()
       jQuery("#adBlock").remove()
       } catch (e) {}
       }
       AdapterPing() { // Ping
       try {
       console.log("Ping!")
       jQuery("#errorNotification").remove()
       jQuery("#youtuberOf").remove()
       jQuery("#followText").remove()
       jQuery("#promoImgHolder").remove()
       jQuery("#twitterFollow").remove()
       jQuery("#joinPartyButton").remove()
       jQuery("#linksContainer2").remove()
       jQuery("#partyButton").remove()
       jQuery("#youtubeFollow").remove()
       jQuery("#mobileInstructions").remove()
       jQuery("#altServer").remove()
       jQuery("#downloadButtonContainer").remove()
       jQuery("#mobileDownloadButtonContainer").remove()
       jQuery(".downloadBadge").remove()
       } catch (e) {}
       }
       AdapterFPS() { // FPS
       try {
       console.log("Fps!")
       window.location.native_resolution = true
       } catch (e) {}
       }
    }
       const MAIN = new Main("Work")
       console.log("Status: " + MAIN.status)
       MAIN.AdapterPing()
       MAIN.AdapterFPS()
       MAIN.RemoveAd()
       const $el_PING = jQuery("#pingDisplay")
	   $el_PING.css("display", "block")
	   $("body").append($el_PING)
})()