MicroScatter Cheater Script

Press C on microscatter to win

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

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

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

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

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

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

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

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

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

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

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

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

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

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

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
`// ==UserScript==
// @name MicroScatter Cheater Script
// @namespace http://qsysmine.tk/
// @Version 0.1
// @description Press C on microscatter to win
// @author qsysmine
// @match https://quizlet.com/
// @grant none
// @version 0.0.1.20180925181756
// ==/UserScript==

(function() {
var cheatTime = 0;
window.setCheatTime = function(mils) {
cheatTime = mils;
};

var $ = window.jQuery;
var cheat = function() {
    var ids = [];
    var checkhasid = function(id) {
        for(var i in ids) {
            if(ids[i] == id) {
                return true;
            }
        }
        return false;
    };
    setTimeout(function() {
    $('.cell').each(function(index){

        if(checkhasid($(this).attr("data-id"))) $('[data-id="' + $(this).attr("data-id") + '"]').trigger("click")
        if(!checkhasid($(this).attr("data-id"))) ids.push($(this).attr("data-id"));

    });
    }, cheatTime);
};
window.startWithTime = function(mils) {
    setCheatTime(mils);
    $('#start').trigger("click");
    cheat();
};
var z = 0;
$('*').keyup(function(e) {
    if(e.keyCode == 67 && z === 0 && $('#cells').hasClass("started")) {z = 1; cheat();}
});
})();`