您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
2023/9/20 21:55:23
当前为
// ==UserScript== // @name Text // @namespace https://github.com/jin-lin0/tampermonkey-demo // @match *://*/* // @grant GM_notification // @version 0.3 // @author - // @description 2023/9/20 21:55:23 // @license MIT // ==/UserScript== (function () { "use strict"; const notificationOptions = { text: "欢迎", title: "自定义通知", timeout: 5000, // }; GM_notification(notificationOptions); console.log("tamper test"); const greetingMessage = "欢迎!打开该页面的时间:" + new Date().toLocaleTimeString(); const greetingElement = document.createElement("div"); greetingElement.textContent = greetingMessage; greetingElement.style.position = "fixed"; greetingElement.style.top = "0"; greetingElement.style.left = "0"; greetingElement.style.backgroundColor = "lightblue"; greetingElement.style.color = "black"; greetingElement.style.padding = "5px"; document.body.appendChild(greetingElement); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址