您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
auto login lms
// ==UserScript== // @name Login Script SMU LMS // @namespace http://tampermonkey.net/ // @version 2.0 // @description auto login lms // @author You // @match https://lms.smu.edu.ph/login/index.php // @match https://lms.smu.edu.ph/ // @icon https://static.wikia.nocookie.net/love-live/images/7/7b/Rina_Signature.png/revision/latest/scale-to-width-down/1200?cb=20210319113458 // @grant none // ==/UserScript== (function() { 'use strict'; var currentUrl = window.location.href; if (currentUrl === 'https://lms.smu.edu.ph/') { window.location.href = 'https://lms.smu.edu.ph/login/index.php'; } else if (currentUrl === 'https://lms.smu.edu.ph/login/index.php') { document.getElementById('username').value = 'replace_username'; document.getElementById('password').value = 'replace_password'; document.getElementById('loginbtn').click(); } })();