limaxHax vBetter

better than other limax hax

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

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

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

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

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

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         limaxHax vBetter
// @namespace    http://tampermonkey.net/
// @version      0.7
// @description  better than other limax hax
// @author       You
// @match        *://limax.io/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    window.alpha=50;
    //disable loading ads script
    function objHider(o){this.getObject=function(){return o;}}
    window.getScript=new objHider({}).getObject();
    //on load
    window.addEventListener('load',function(){
        //disable ads when start is clicked
        //change ad player to start
        window.initAipPreroll=document.getElementById("play").onclick=function(){start();};
        //define empty ad funcs and make built in skin hack detector do nothing
        window.skin_hack=window.cgAdControlOff=window.cgAdControlOn=function(){};
        //override handshake function
        window.oldHandshake=handshake;
        handshake=function(a){
          var newA=a;
          newA[1].bonus_max=999;
          oldHandshake(newA);
          console.log(a,newA);
        };
        //change opacity of your player
        window.customAlpha=50;
        setInterval(()=>{
          players_alpha[true_id]=window.customAlpha;
          alpha=window.customAlpha/100;
        },0);
        setInterval(()=>window.customAlpha=Math.floor(51*Math.random()+50),1000);
    },false);
})();