JS Violence No Alert Window
// 禁止alert弹窗。 防止错误提醒
window.alert = function() {
return false;
}
![]()
The above figure is wrong, the code is updated every 10 seconds because it is used to test future modifications and one second equals 1,000 ms
Auto Refresh Script
setTimeout(function(){
window.location.reload();//刷新当前页面.
},10000)//设置时间为10秒,1000毫秒等于1秒
Supplements window.location.reload();//update current page.parent.localization.reload()/upgrading father objects (for frames)
20 minutes to refresh and click for extra time
// ==UserScript==
// @name kali
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://tryhackme.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var button = document.getElementById("add-vm-time");
//每秒执行一次,若按钮状态为可用,进行点击
setInterval(function() {
if (button.disabled == false) {
button.click();
}
},
1800000);
setTimeout('window.location.reload();',1200000);
//window.location.reload(); //指定20分钟刷新一次
// Your code here...
})();
未经允许不得转载:萌萌Apprentissage » Some uses of js scripts
linux One Chinese script
Sed command echo command
Tmux use tutorial
I'm gonna get you a new one, shell.cloud.google on the line.
Linux Memory Clearing
How to install Xrdp server remote desktops on Ubuntu 20.04
Reference manual for access to CN2-line VPS hosts and aircraft rooms -- identification of genuine and false CN2 lines