CheckinSuite

Checkin all in one

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         CheckinSuite
// @namespace    https://github.com/frosn0w/iOSscripts
// @version      1.2.1
// @description  Checkin all in one
// @author       frosn0w
// @match        https://xue.alibaba-inc.com/trs/xue/home*
// @match        https://hifini.com
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAFVBMVEVHcEwzMzIzMzI6OjYnJywzMzIzMzJtKzdZAAAAB3RSTlMAzf8CArThzF+FCQAAAERJREFUeAFjAAJGATiGACYFGMYqYKiEAkQYglAFVBmUULUoYRVgS4BhqAACkC/ApKTAoKQEoggLDHVDKRfAjDlWVIEAALtyGcbXf1bkAAAAAElFTkSuQmCC
// @run-at       document-end
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
    // Define timer
    var timer = setInterval(function(){
        // find all spans
        var spans = document.querySelectorAll("span");
        var divs = document.querySelectorAll("div");
        for (var i = 0; i < spans.length; i++) {
            //alilearn
            if (spans[i].getAttribute("class") === "next-btn-helper" && spans[i].innerText === "签到") {
                spans[i].click();
            }
            else continue;
        }
        for (var j = 0; j < divs.length; j++){
            //hifini
            if (divs[j].getAttribute("id") === "sign" && divs[j].innerText === "签到") {
                divs[j].click();
            }
            else continue;
        }
    }, 1500);
})();