别上网
不知道大家有没有这样的经验,你上着上着课,一群人冲了进来,然后强行霸占了机房的电脑,开始打游戏。
如果大家有这样的经验,那么我们可以如此做:
首先,下载并在谷歌里安装Tampermonkey,其他浏览器从应用商店就行。
然后,进入脚本编辑器,添加以下脚本:
// ==UserScript==
// @name AI-Better
// @namespace http://tampermonkey.net/
// @version 2025-05-13
// @description Make The NK IT Better
// @author MAN
// @match *://*/*
// ==/UserScript==
(function() {
'use strict';
let it=0;
const agree = document.createElement("button");
agree.innerHTML = "洗心革面";
agree.style.cssText = `
position: fixed;
top: 240px;
right: 1500px;
z-index: 9999;
padding: 10px 20px;
background: #99CCFF;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
`;
agree.addEventListener('mouseover', () => {
agree.style.background = '#9999FF';
});
agree.addEventListener('mouseout', () => {
agree.style.background = '#99CCFF';
});
agree.addEventListener('click', () => {
document.open();
});
const disagree = document.createElement("button");
disagree.innerHTML = "一意孤行";
disagree.style.cssText = `
position: fixed;
top: 240px;
right: 1350px;
z-index: 9999;
padding: 10px 20px;
background: #A8A8A8;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
`;
disagree.addEventListener('click', () => {
document.open();
document.write("<h1>小伙子有点勇<\h1>");
document.write("<h1>你怎么不悔改呢?<\h1>");
document.write("<h1>你的连接被午夜列车垄断了<\h1>");
});
disagree.addEventListener('mouseover', () => {
disagree.style.background = '#A0A0A0';
});
disagree.addEventListener('mouseout', () => {
disagree.style.background = '#A8A8A8';
});
document.write("<h1>您的连接不太正常<\h1>");
document.write("<h2>作为一名南开学子,你不应该在上课的时候登录网站<\h2>");
document.write("<h2>根据机房守则第3条,上网娱乐者将视情节严重程度,被扣除操行分10~40分不等<\h2>");
document.write("<h1>为了您的身心愉悦与健康,请勿上网<\h1>");
document.body.appendChild(agree);
document.body.appendChild(disagree);
})();
或者js文件
最后一步,隐藏Tampermonkey,并删除你电脑上面非本来就有的东西,清除浏览器记录。

浙公网安备 33010602011771号