fucking NJFU WIFI!!
当前为
// ==UserScript==
// @name fucking NJFU WIFI
// @namespace https://zkwzkw.top
// @version 0.2
// @description fucking NJFU WIFI!!
// @author kaiwen zhou
// @include http://*/a70.htm
// @grant none
// @require https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js
// ==/UserScript==
(function() {
'use strict';
// 请在下面下面两行中输入你的wifi账号和密码
let username = ''
let password = ''
if (username === '' || password === ''){
alert('你还没输入账号和密码!!快去脚本中添加!!')
}else{
let url = window.location.href
let reg_a70 = /a70.htm$/;
if(reg_a70.test(url)){
$('.edit_lobo_cell')[1].value = username
$('.edit_lobo_cell')[2].value = password
$('.edit_lobo_cell')[0].click()
}
}
})();