您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
各种四川大学下的网站前端微调(现包括软件学院课程中心去验证码和cc.scu.edu.cn支持非IE浏览器使用)
当前为
// ==UserScript== // @name 四川大学类网站体验增强(软件学院版) // @namespace scu_helper_swjx // @description 各种四川大学下的网站前端微调(现包括软件学院课程中心去验证码和cc.scu.edu.cn支持非IE浏览器使用) // @include http://swjx.scu.edu.cn/moodle/login/index.php // @include http://cc.scu.edu.cn/G2S/Showsystem/Index.aspx // @version 1.3.3 // @grant none // @author lightning-zgc // ==/UserScript== var scu_helper_swjx = { act: function () { switch (window.location.href) { case 'http://swjx.scu.edu.cn/moodle/login/index.php': var pass = document.getElementById('passcode'); pass.value = 'hbuckwpzg'; pass.setAttribute('style', 'display:none;'); console.log('swjx'); break; case 'http://cc.scu.edu.cn/G2S/Showsystem/Index.aspx': document.getElementsByClassName('menubg') [0].removeAttribute('style'); console.log('cc'); break; default: } }, init: function () { this.act(); window.onbeforeunload = this.act; } }; scu_helper_swjx.init();