您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
TWINS でタイムアウトしたときのポップアップを非表示にします。
// ==UserScript== // @name TWINS Timeout Dialog Blocker // @name:en TWINS Timeout Dialog Blocker // @namespace kichi2004.jp // @version 1.0 // @description TWINS でタイムアウトしたときのポップアップを非表示にします。 // @description:en Hide the popup windows for timeout on TWINS. // @author Takayuki Ueno // @match https://twins.tsukuba.ac.jp/campusweb/campusportal.do* // @grant none // ==/UserScript== console.log('Timeout Blocker Loaded!') const windowOpen = window.open const timeoutUrlList = [ '/campusweb/theme/default/TimeoutAlert.html', '/campusweb/theme/default/Timeout.html' ] window.open = (url, target, windowFeatures) => { if (timeoutUrlList.includes(url)) return windowOpen(url, target, windowFeatures) }