CheckinSuite

Checkin all in one

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

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.

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

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

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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==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);
})();