Beta adapter Ping/Fps!

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

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

  1. // ==UserScript==
  2. // @name Beta adapter Ping/Fps!
  3. // @name:ru Бета адаптер Ping/Fps!
  4. // @namespace none
  5. // @version 1.0.0
  6. // @description This is a beta adapter for your ping/FPS in MooMoo.io! + Remove Ad
  7. // @description:ru Это бета-адаптер для вашего ping/FPS в MooMoo.io! + Удалить Объявление
  8. // @author You
  9. // @match *://sandbox.moomoo.io/*
  10. // @match *://moomoo.io/*
  11. // @match *://dev.moomoo.io/*
  12. // @icon https://beginpc.ru/images/internet/js_logo.jpg
  13. // @require http://code.jquery.com/jquery-3.3.1.min.js
  14. // @require https://code.jquery.com/ui/1.12.0/jquery-ui.min.js
  15. // @grant none
  16. // ==/UserScript==
  17. /** Description
  18. * Why is the ping so high?
  19. * 1. A lot of changing elements.
  20. * 2. Let's say a blow to the enemy. When taking damage, you will have a ping.
  21. * 3. Due to rotating buildings, such as: Windmills, a rotating spike.
  22. * 4. It is forbidden to use an animated Rainbow gradient element and text!
  23. * 5. Because of unnecessary elements!
  24. * 6. When you first enter the game!
  25. * 7. If you have third-party programs running on your PC and loading sites in the browser!
  26. */
  27. (function() {
  28. 'use strict'; // Okay, let's use strict mode
  29. class Main {
  30. constructor(status) {
  31. this.status = status
  32. }
  33. RemoveAd() { // Ad
  34. try {
  35. console.log("Ad!")
  36. setTimeout(() => ($('#ot-sdk-btn-floating').remove(), $('#pre-content-container').remove()), 3000) // Remove cookie
  37. document.getElementById("moomooio_728x90_home").style.display = "none"
  38. jQuery("#moomooio_728x90_home").parent().css("display", "none")
  39. jQuery('#adCard').remove()
  40. jQuery("#adBlock").remove()
  41. } catch (e) {}
  42. }
  43. AdapterPing() { // Ping
  44. try {
  45. console.log("Ping!")
  46. jQuery("#errorNotification").remove()
  47. jQuery("#youtuberOf").remove()
  48. jQuery("#followText").remove()
  49. jQuery("#promoImgHolder").remove()
  50. jQuery("#twitterFollow").remove()
  51. jQuery("#joinPartyButton").remove()
  52. jQuery("#linksContainer2").remove()
  53. jQuery("#partyButton").remove()
  54. jQuery("#youtubeFollow").remove()
  55. jQuery("#mobileInstructions").remove()
  56. jQuery("#altServer").remove()
  57. jQuery("#downloadButtonContainer").remove()
  58. jQuery("#mobileDownloadButtonContainer").remove()
  59. jQuery(".downloadBadge").remove()
  60. } catch (e) {}
  61. }
  62. AdapterFPS() { // FPS
  63. try {
  64. console.log("Fps!")
  65. window.location.native_resolution = true
  66. } catch (e) {}
  67. }
  68. }
  69. const MAIN = new Main("Work")
  70. console.log("Status: " + MAIN.status)
  71. MAIN.AdapterPing()
  72. MAIN.AdapterFPS()
  73. MAIN.RemoveAd()
  74. const $el_PING = jQuery("#pingDisplay")
  75. $el_PING.css("display", "block")
  76. $("body").append($el_PING)
  77. })()