Skip to content

Instantly share code, notes, and snippets.

@Geo-ff
Geo-ff / popup-reminder.user.js
Last active May 8, 2026 13:24
Tampermonkey userscript for popup detection and manual notification, without automatic interaction.一个 Tampermonkey 用户脚本,用于检测网页中可能出现的确认弹窗,并通过声音或桌面通知提醒用户手动处理,不执行自动点击。
// ==UserScript==
// @name 弹窗提醒助手
// @namespace local-reminder
// @version 1.0
// @description 检测页面弹窗出现时提醒用户手动处理(这类弹窗通常是平台用来确认本人正在观看、保证学习记录有效的机制,脚本自动点击属于绕过平台规则,可能导致学时无效、账号异常或违反学习要求)
// @match *://*/*
// @grant none
// ==/UserScript==
(function () {