添加证书说明

This commit is contained in:
2025-07-19 20:18:15 +08:00
parent 52103f9037
commit ff2679d51f

13
main.js
View File

@@ -8,6 +8,7 @@
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAdVBMVEX///////7+/v4kVZ729/lafbO2xd3x8/f5+vz8/Pzd4+4tW6GSp8xnh7nP2OgxXqLK1OZ1kb/s7/UgUZytvdhKcKw+aKgaTZlhgrbU3eqar9Dm6fFVd7CEnsZwjb4VSZfAy+BCbKq3xd58l8OXrM6nudaMo8kyjkGlAAABfklEQVQokT1Si5arIBCLDIqCiogP8FHtWvv/n3iH7vZyDjDMQAIJwLdlpVIlz0L8T0FAxDaTy5JBrWn52ZhxoO6tQ+ZyjT7fJSqRpYJAJte8qbDPmxKPY4vgXOqdhramwzp6B1GTKRJahjjVVdlQI3FauiTahkOmFfHyJ9qJduC2lHf4o69weiZYyLyAYvLWFe3O1apHa80AsZOpGfdhZrLHDfSDwpumFuVO5HqI8xot3xvrM5Qy+DGiqo3fTgbvteRRT36AHmlk2J/R26vlbHmuiMVrWtOlpoGPX2a2wV3BMjQiNSXakezVA50zfvbHyGTMQlcFnRNtRQXEl3u4lklWVRi6FNRuyTRD/5E7sXehvIlCBM6c3zBed3E/dNKqCdlg/bRIlENj/XHMxztphdUGxNxTKNhAPbz3/edjlEC0uRTLc6b81syu5K8fPOhxKtAvm5/NMw/vNRNfy1U9hUKpbnFNsyh8v0Pa0A/O1SyE+LrxV6mSdjH2gsPf/D//7BjTQny+YwAAAABJRU5ErkJggg==
// @grant none
// @run-at document-idle
// @license MI
// ==/UserScript==
(function() {
@@ -14775,7 +14776,7 @@
}
// 创建菜单按钮
function createMenueButton(text, options = {}) {
function createMenuButton(text, options = {}) {
const button = document.createElement('button');
button.textContent = text;
const copiedStyles = {
@@ -14813,12 +14814,12 @@
var query_button = document.getElementById("query");
// 创建菜单按钮
const button = createMenueButton("统计加班时间", {
const button = createMenuButton("统计加班时间", {
onClick: () => {
get_work_time();
}
})
const button0 = createMenueButton('查当月', {
const button0 = createMenuButton('查当月', {
onClick: () => {
const month = getCustomMonthRange(0);
const firstDay = month.firstDay;
@@ -14832,7 +14833,7 @@
}, 500);
}
});
const button1 = createMenueButton('查上月', {
const button1 = createMenuButton('查上月', {
onClick: () => {
const month = getCustomMonthRange(1);
const firstDay = month.firstDay;
@@ -14846,7 +14847,7 @@
}, 500);
}
});
const button2 = createMenueButton('查上上月', {
const button2 = createMenuButton('查上上月', {
onClick: () => {
const month = getCustomMonthRange(2);
const firstDay = month.firstDay;
@@ -14860,7 +14861,7 @@
}, 500);
}
});
const button3 = createMenueButton('查上上上月', {
const button3 = createMenuButton('查上上上月', {
onClick: () => {
const month = getCustomMonthRange(3);
const firstDay = month.firstDay;