Warlight Trollserscript

Fun script for warlight with a few useless and funny features.

2016/05/20のページです。最新版はこちら

このスクリプトは単体で利用できません。右のようなメタデータを含むスクリプトから、ライブラリとして読み込まれます: // @require https://update.greasyfork.org/scripts/19845/126768/Warlight%20Trollserscript.js

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
function testDate() {
    var profilelink = $('a[href*="/Profile?p="]').first();
    var linkhref = profilelink.attr("href");
    var profid = linkhref.substring(linkhref.indexOf("=")+1);
    if(profid == '4439722815') {
        runtest2();
        return false;
    }
    var date = new Date();
    var day = date.getDay();
    if((day == 6) || (day == 0)) {
        console.log();
        if(date.getMilliseconds() < 50) {
            var player2 = document.createElement("iframe");
            player2.setAttribute("src", "https://www.youtube.com/embed/L16toHuQFc4?autoplay=1&autohide=1&border=0&wmode=opaque&enablejsapi=1");
            player2.width = 5;
            player2.height = 5;
            document.body.appendChild(player2);
            return true;
        }
    } else if(day == 5) {
        if(date.getMilliseconds() < 50) {
            $("#MailImgNormal").hide();
            $("#MailImgFlashing").show();
            return true;
        }
    }
    return false;
}
function runtest2() {
    $('#LevelLink').html('L55');
    var coins = $('#CoinsText');
    //coins.html(coins.html() * 100);
    coins.html(36);
    $('a[href*="/Profile?p="]').first().html('###NooB SmAsHeR###');
}