您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Provide you true vision map (can see gold, diamonds, lakes) at night, also remove ads. Right click on the map to remove it.
// ==UserScript== // @name Starve.io OP MAP + Ads Remove // @namespace http://tampermonkey.net/ // @version 1.0.7.2 // @description Provide you true vision map (can see gold, diamonds, lakes) at night, also remove ads. Right click on the map to remove it. // @author Prof.X // @run-at document-ready // @require https://code.jquery.com/jquery-3.2.1.min.js // @match *://starve.io // ==/UserScript== /*ads remove*/ $(window).bind("load", function() { $('#trevda,[src*="apis.google"],[src*="ad"],[src*="googletagservices"],iframe,#preroll,#divFullscreenLoading,#preroll').remove(); }); /*map*/ var state =""; var height = $('#game_canvas').attr('height'); var width = $('#game_canvas').attr('width'); var canvas = document.getElementById('game_canvas'); var ctx = canvas.getContext('2d'); var int = setInterval(function(){ var data = ctx.getImageData(width/2.3, height-30, 1, 1).data; var data2 = ctx.getImageData(width/2.3, height-120, 1, 1).data; if(data[0]=='175'&&data[1]=='53'&&state!=="1"){ $('.map').remove(); $('body').append('<div class="map" style="position:absolute!important;z-index: 99999;bottom: 54px; right: 4px;opacity: .4;width:191px;height:188px;background-image: url(http://i.imgur.com/1ebtFiG.png);background-size: cover;">'); state = "1"; } else if (data2[0]=='175'&&data2[1]=='53'&&state!=="2") { $('.map').remove(); $('body').append('<div class="map" style="position:absolute!important;z-index: 99999;bottom: 124px; right: 4px;opacity: .4;width:191px;height:188px;background-image: url(http://i.imgur.com/1ebtFiG.png);background-size: cover;">'); state = "2"; } else if (data[0]!='175'&&data2[0]!='175'&&state!=="0") { $('.map').remove(); state = "0"; } $('.map').click(function(e) { if (e.shiftKey) { $( this ).remove(); clearInterval(int); } }); },500);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址