Skip to content

Instantly share code, notes, and snippets.

@tan9
Last active October 2, 2025 05:35
Show Gist options
  • Select an option

  • Save tan9/41686eab8e704bb18885a24339010d65 to your computer and use it in GitHub Desktop.

Select an option

Save tan9/41686eab8e704bb18885a24339010d65 to your computer and use it in GitHub Desktop.
CHT e-Learning Assistant
// ==UserScript==
// @name CHT e-Learning Assistant [已下架]
// @source [已移除]
// @version 0.0.0
// @description 【此腳本已於 2025-09-25 下架】基於公司資安政策要求停止維護
// @author [已移除]
// @downloadURL none
// @updateURL none
// @match https://plearn.elearning.cht.com.tw/mod/quiz/*
// @match https://ilearn.elearning.cht.com.tw/mod/quiz/*
// @icon https://web-eshop.cdn.hinet.net/eshop/img/favicon.ico
// @grant none
// ==/UserScript==
(function () {
'use strict';
// ========================================
// 【重要通知】此 UserScript 已下架
// ========================================
//
// 下架日期:2025-09-25
// 原因:基於公司資安政策要求
//
// 詳細說明:
// - 資安處定期掃描 GitHub 公開資料
// - 發現包含公司系統相關資訊將影響機構資安 KPI
// - 此腳本已停止維護並移除所有功能
//
// 注意事項:
// - 請勿在 GitHub 或其他公開平台分享
// - 原始程式碼已移除
// - 如有相關需求請聯繫內部 IT 支援
//
// ========================================
console.warn('CHT e-Learning Assistant 已下架 - 基於資安政策要求');
// 在頁面顯示下架通知
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', showNotice);
} else {
showNotice();
}
function showNotice() {
const notice = document.createElement('div');
notice.style.cssText = 'position:fixed;top:10px;right:10px;background:#ff4444;color:white;padding:10px;border-radius:5px;z-index:9999;font-size:14px;';
notice.textContent = 'e-Learning Assistant 已停用(資安政策)';
document.body.appendChild(notice);
setTimeout(() => notice.remove(), 5000);
}
})();
@tan9
Copy link
Author

tan9 commented Apr 14, 2025

@sunnycsc @likueimo 請問你們有依照 https://www.tampermonkey.net/faq.php?locale=en#Q209 的說明啟用 "Developer Mode" 嗎?

@sunnycsc
Copy link

啟用Developer Mode測試成功,謝謝

@nickhsieh04
Copy link

原以為失效 查看了一下發現有設定沒打開低調服用低調推!!

@conansherlock-svg
Copy link

低調感恩,低調推

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment