File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 31243124 }
31253125 ],
31263126 "Notes" : " #860 ..."
3127+ },
3128+ "2.4.5" : {
3129+ "UpdateDate" : 1759487413226 ,
3130+ "Prerelease" : true ,
3131+ "UpdateContents" : [
3132+ {
3133+ "PR" : 869 ,
3134+ "Description" : " Update CSS selector (again...)"
3135+ }
3136+ ],
3137+ "Notes" : " 为什么这个破东西老是换位置"
31273138 }
31283139 }
31293140}
Original file line number Diff line number Diff line change 11// ==UserScript==
22// @name XMOJ
3- // @version 2.4.4
3+ // @version 2.4.5
44// @description XMOJ增强脚本
55// @author @XMOJ -Script-dev, @langningchen and the community
66// @namespace https://github/langningchen
@@ -1726,6 +1726,9 @@ async function main() {
17261726 if ( SubmitLink == null ) { //为什么这个破东西老是换位置
17271727 SubmitLink = document . querySelector ( '.mt-3 > center:nth-child(1) > a:nth-child(7)' ) ;
17281728 }
1729+ if ( SubmitLink == null ) { //tmd又换位置
1730+ SubmitLink = document . querySelector ( '.mt-3 > center:nth-child(1) > a:nth-child(8)' ) ;
1731+ }
17291732 let SubmitButton = document . createElement ( 'button' ) ;
17301733 SubmitButton . id = 'SubmitButton' ;
17311734 SubmitButton . className = 'btn btn-outline-secondary' ;
Original file line number Diff line number Diff line change 11{
22 "name" : " xmoj-script" ,
3- "version" : " 2.4.4 " ,
3+ "version" : " 2.4.5 " ,
44 "description" : " an improvement script for xmoj.tech" ,
55 "main" : " AddonScript.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments