您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Improve the teriminal.
当前为
// ==UserScript== // @name OS体验优化 // @namespace http://tampermonkey.net/ // @version 0.1.3 // @description Improve the teriminal. // @description Disable the autocomplete of capche input. // @author BearHuchao // @match http://course.educg.net/ // @match http://course.educg.net/* // @grant none // ==/UserScript== // ==UserScript== // @name OS体验优化 // @namespace http://tampermonkey.net/ // @version 0.1.1 // @description Improve the teriminal. // @description Disable the autocomplete of captcha input. // @description Allow to click on captcha pic to reload captcha. // @author BearHuchao // @match http://course.educg.net/ // @match http://course.educg.net/* // @grant none // ==/UserScript== function actionFunction () { 'use strict'; var terminal = document.getElementById("terminado-container"); if(terminal !== null) { terminal.style.width="100%"; } var captcha = document.getElementById("captchaCode"); if(captcha !== null) { captcha.autocomplete="off"; } var captchaPic = document.getElementById("stuloginCaptcha_HelpLink"); if(captchaPic !== null) { captchaPic.href="#"; captchaPic.target="_self"; captchaPic.addEventListener('click', () => { document.getElementById("stuloginCaptcha_ReloadLink").click(); }); } } actionFunction();