|
发表于 2023-2-13 17:31:41
|
显示全部楼层
- // ==UserScript==
- // @name 我的专属脚本
- // @namespace https://fishc.com.cn/
- // @version 0.1
- // @description 自动化操作
- // @match https://fishc.com.cn/
- // @require https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.5.1.min.js
- // @grant none
- // @run-at document-start
- // ==/UserScript==
- (function(){
- document.querySelector('#ls_username').value = '我的用户名';
- document.querySelector('#ls_password').value = '我的密码';
- document.querySelector('#lsform > div > div > table > tbody > tr:nth-child(2) > td.fastlg_l > button').click();
- document.querySelector('#um > p:nth-child(2) > strong > a').click();
- })
复制代码 |
|