Mousehunt Football Player

Mousehunt Fifa World Cup 2014 event script, plays the soccer game for you, works only on July 09 2014 as of this moment

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name       Mousehunt Football Player
// @author     GTDevsSuck
// @version    2.00
// @description  Mousehunt Fifa World Cup 2014 event script, plays the soccer game for you, works only on July 09 2014 as of this moment
// @match      *www.mousehuntgame.com/football.php*
// @namespace  http://userscripts.org:8080/users/527134
// ==/UserScript==

window.setInterval(function() {

    
    var name = document.getElementsByClassName('title')[0].innerHTML;
    
    if (name === "Field Mouse") { document.getElementsByClassName('actionButton')[2].click();}
    else if (name === "Hot Head Mouse") { document.getElementsByClassName('actionButton')[1].click(); }
    else if (name === "PRIZE ZONE") { document.getElementsByClassName('actionButton small')[0].click(); }
    else if (name === "Football Superstar") { document.getElementsByClassName('actionButton')[0].click(); }
        
    else if (name === "Master of the Cheese Belt Mouse") { document.getElementsByClassName('actionButton')[1].click(); }
    else if (name === "Nugget Mouse") { document.getElementsByClassName('actionButton')[0].click(); }
    else if (name === "Snooty Mouse") { document.getElementsByClassName('actionButton')[0].click(); }
    else if (name === "Falling Carpet Mouse") { document.getElementsByClassName('actionButton')[0].click(); }
    else if (name === "Tiny Mouse") { document.getElementsByClassName('actionButton')[0].click(); }
    else if (name === "Buckethead Mouse") { document.getElementsByClassName('actionButton')[0].click(); }
    else if (name === "Speedy Mouse") { document.getElementsByClassName('actionButton')[2].click(); }
    else if (name === "Flutterby Mouse") { document.getElementsByClassName('actionButton')[1].click(); }
    else if (name === "Ghost Mouse") { document.getElementsByClassName('actionButton')[0].click(); }
    else if (name === "Flying Mouse") { document.getElementsByClassName('actionButton')[2].click(); }
    else if (name === "Pugilist Mouse") { document.getElementsByClassName('actionButton')[1].click(); }
    else if (name === "Guqin Player Mouse") { document.getElementsByClassName('actionButton')[1].click(); }
    else if (name === "Mystic Rook Mouse") { document.getElementsByClassName('actionButton')[1].click(); }
    

       if (document.body.innerHTML.match(/Costs 1 Football/i) && document.body.innerHTML.match(/Congratulations!/i))
    {clearInterval();
     document.getElementsByClassName('entryBlock invis fadeIn')[0].click();
     clearInterval();
     alert("Congratulations!\nYou got a Gold Footlocker!\n\nStarting another game.");
     clearInterval();
     window.location.href = "http://www.mousehuntgame.com/football.php";
     clearInterval();}
    
        else if (document.body.innerHTML.match(/Costs 1 Football/i) && document.body.innerHTML.match(/This mouse has no weakness/i))
    {clearInterval();
     document.getElementsByClassName('entryBlock')[0].click();
     clearInterval();
     alert("Lost a ball to the Challenger :(\n\nStarting a new game.");
     clearInterval();
     window.location.href = "http://www.mousehuntgame.com/football.php";
     clearInterval();}
           
        else if (document.body.innerHTML.match(/Costs 1 Football/i) && document.body.innerHTML.match(/Challenge the mice of Gnawnia to a game of football!/i))
    {clearInterval();
     document.getElementsByClassName('entryBlock')[0].click();
     clearInterval();
     alert("Starting a game from the beginning.");
     clearInterval();
     window.location.href = "http://www.mousehuntgame.com/football.php";
     clearInterval();}
    
            
            else if (document.body.innerHTML.match(/Costs 1 Football/i))
    {clearInterval();
     document.getElementsByClassName('entryBlock invis fadeIn')[0].click();
     clearInterval();
     alert("Oh no, hit the post?\n\nStarting a new game!");
     clearInterval();
     window.location.href = "http://www.mousehuntgame.com/football.php";
     clearInterval();}
            
            
        
        
        document.getElementsByClassName('target')[2].click();
    
    /**
    if (document.body.innerHTML.match(/Costs 1 Football/i) && document.body.innerHTML.match(/Congratulations!/i))
    {document.getElementsByClassName('entryBlock invis fadeIn')[0].click();}
        else if (document.body.innerHTML.match(/Costs 1 Football/i) && document.body.innerHTML.match(/This mouse has no weakness/i))
    {document.getElementsByClassName('entryBlock')[0].click();
    alert("second");}
        else if (document.body.innerHTML.match(/Costs 1 Football/i) && document.body.innerHTML.match(/Challenge the mice of Gnawnia to a game of football!/i))
    {document.getElementsByClassName('entryBlock')[0].click();
    alert("third");}
        
        
            
    if (document.getElementsByClassName('target')[2])
    {  document.getElementsByClassName('target')[2].click();
    alert("shoot");}
    
    */
     
    
    
    }, 1500);