limaxHax vBetter

better than other limax hax

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

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

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

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

你需要先安裝一款使用者腳本管理器擴展,比如 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);
})();