math-leave-data

汇总调休数据

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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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         math-leave-data
// @namespace    http://tampermonkey.net/
// @version      0.0.1
// @license      MIT
// @description  汇总调休数据
// @author       hjl
// @match        https://pc.newland.com.cn/appPortal/kaoqin/home/myteamkq/my_tearm_card_detailList
// @icon         https://www.google.com/s2/favicons?sz=64&domain=newland.com.cn
// @grant        none
// ==/UserScript==


const xlsx ='https://xyfali.postar.cn/postar-st/web/xlsx.full.min.js'


function createScript (url,onLoad){
    var script = document.createElement('script');
    script.src = url;
    if(onLoad){
        script.onload=onLoad
    }
    return script
}


document.body.appendChild(createScript(xlsx))
window.onload = function () {
    document.body.appendChild(createScript(`https://xyfali.postar.cn/risk-message/leave-calculation.js?time=${new Date().getTime()}`))
}