Skip to content

Instantly share code, notes, and snippets.

View Ray941216's full-sized avatar
👁️
Learning

Ray Chen Ray941216

👁️
Learning
View GitHub Profile
@Ray941216
Ray941216 / CHT公文整頁確認 書籤.js
Created May 15, 2024 01:38
用法: 1. 在 Chrome 或 Edge 瀏覽器,新增一個書籤到書籤列 2. 編輯該書籤,將網址列清空,先打上『 javascript: 』,然後貼上以下程式碼 3. 到未讀公文清單頁面,可依照需求發動: A. 勾選 想要自動讀取的公文,點擊這個書籤 B. 全部不勾選(留白) 則整頁清空
/* 用法:
* 在 Chrome 或 Edge 瀏覽器,新增一個書籤到書籤列
* 編輯該書籤,將網址列清空,先打上『 javascript: 』,然後貼上以下程式碼
* 到未讀公文清單頁面,可依照需求發動:
* 1. 勾選 想要自動讀取的公文,點擊這個書籤
* 2. 全部不勾選(留白) 則整頁清空
*/
if (confirm("自動完成本頁『已勾選』/『全部』公文確認作業?(確定後請等待完成通知)")) {
var cnt = 0;
@Ray941216
Ray941216 / ems-odas-eater.user.js
Last active June 20, 2024 13:10
CHT 吃公文的貓貓
// ==UserScript==
// @name CHT 吃公文的貓貓
// @namespace http://tampermonkey.net/
// @source https://gist.github.com/Ray941216/7efde961568bedb8800f38ced57da28a
// @version 1.2.6
// @description 模式1:勾選要處理的公文,點擊貓貓、模式2:完全不勾選任何公文,點擊貓貓,『確定>確定』,會將所有待確認的公文自動處理至完全沒有、模式3:完全不勾選任何公文,點擊貓貓,『取消>確定』,只處理當前頁面上的公文
// @author ray941216
// @downloadURL https://gist.github.com/Ray941216/7efde961568bedb8800f38ced57da28a/raw/ems-odas-eater.user.js
// @updateURL https://gist.github.com/Ray941216/7efde961568bedb8800f38ced57da28a/raw/ems-odas-eater.user.js
// @match https://emsodas.cht.com.tw/Portal/Pages/WaitingDocument.aspx
@Ray941216
Ray941216 / ezlearning.user.js
Created June 3, 2024 07:23 — forked from tan9/ezlearning.user.js
CHT e-Learning Assistant
// ==UserScript==
// @name CHT e-Learning Assistant
// @source https://gist.github.com/tan9/41686eab8e704bb18885a24339010d65
// @version 0.8.1
// @description Learn with no pain (and hopefully not no gain...)
// @author tan9, danny
// @downloadURL https://gist.githubusercontent.com/tan9/41686eab8e704bb18885a24339010d65/raw/
// @updateURL https://gist.githubusercontent.com/tan9/41686eab8e704bb18885a24339010d65/raw/
// @require https://www.gstatic.com/firebasejs/4.9.0/firebase.js
// @require https://code.jquery.com/jquery-1.12.4.min.js