返回首頁 

Greasy Fork is available in English.

2022广东省公需课登录界面自动填入默认密码

功能:1、自动填入默认密码:身份证末6位+'@Gd';2、登录成功后,自动关闭弹出的修改密码对话框。


安装此脚本?
// ==UserScript==// @name         2022广东省公需课登录界面自动填入默认密码// @description  功能:1、自动填入默认密码:身份证末6位+'@Gd';2、登录成功后,自动关闭弹出的修改密码对话框。// @namespace    小南88// @version      2.0// @description  try to take over the world!// @author       You// @match        https://jsglpt.gdedu.###.cn/login*// @match        https://jsglpt.gdedu.###.cn/teacher/index*// @icon         https://jsglpt.gdedu.###.cn/favicon.ico// @grant        none// ==/UserScript==(function() {var href = window.location.hrefif(href.indexOf("/login") != -1) {//输入身份证号码后,自动在密码框填入默认密码$('#userName').bind('input propertychange', function() {if($('#userName').val().length === 18){$('#password').val($('#userName').val().slice(-6) + '@Gd');}});}if(href.indexOf("/index") != -1) {//登录成功后,自动关闭弹出的修改密码窗口$('.layui-layer-close').click();}})();