The West - Connection booster

A utility for boost connection

05.04.2015 itibariyledir. En son verisyonu görün.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @namespace		https://greasyfork.org/users/8637
// @name        	The West - Connection booster
// @author      	neversleep1911
// @description		A utility for boost connection
// @include     	http://*.the-west.*/game.php*
// @include     	https://*.the-west.*/game.php*
// @grant       	none
// @version     	1.0
// @copyright		Copyright (c) 2015 neversleep1911
// @license			MIT (http://opensource.org/licenses/MIT)
// ==/UserScript==

(function(func) {
    var script;
    script = document.createElement("script");
    script.setAttribute("type", "text/javascript");
    script.textContent = "(" + func.toString() + ")();";
    document.body.appendChild(script);
    document.body.removeChild(script);
})(function() {
    var Booster;
    Booster = function() {
        function Booster() {
            this.timer = setInterval(Chat.Request.Nop, this.INTERVAL);
        }
        Booster.ID = "tw_booster";
        Booster.NAME = "Booster";
        Booster.AUTHOR = "neversleep1911";
        Booster.WEB_SITE = "https://greasyfork.org/scripts/9007";
        Booster.MIN_GAME_VERSION = "2.21";
        Booster.MAX_GAME_VERSION = Game.version.toString();
        Booster.prototype.INTERVAL = 2e4;
        return Booster;
    }();
    $(document).ready(function() {
        var api;
        api = TheWestApi.register(Booster.ID, Booster.NAME, Booster.MIN_GAME_VERSION, Booster.MAX_GAME_VERSION, Booster.AUTHOR, Booster.WEB_SITE);
        api.setGui("Copyrights, changelog and other details see <a href='" + Booster.WEB_SITE + "' target='_blank'>here</a>.");
        new Booster;
        return true;
    });
});