Beta adapter Ping/Fps!

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

当前为 2021-08-24 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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)
})()