您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
修复南邮正方登录界面的bug,比如有时候输入框错乱,而且没法用chrome记住密码。
// ==UserScript== // @name NJUPT_Zhengfang_Fix_on_chrome // @namespace https://github.com/gaoliang/MyTampermonkey // @version 0.1 // @description 修复南邮正方登录界面的bug,比如有时候输入框错乱,而且没法用chrome记住密码。 // @author Gao Liang // @match http://jwxt.njupt.edu.cn // @match http://jwxt.njupt.edu.cn/default2.aspx // @match http://202.119.225.34 // @match http://202.119.225.34/default2.aspx // @grant none // ==/UserScript== (function() { 'use strict'; // 去除没用的input var bad_input = document.getElementById("Textbox1"); var _parentElement = bad_input.parentNode; if(_parentElement){ _parentElement.removeChild(bad_input); } // 修改正确input的显示方式 document.getElementById("TextBox2").style.display="inline"; })();