Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #9 from PythonSmall-Q/dev
Browse files Browse the repository at this point in the history
Merge Dev
  • Loading branch information
PythonSmall-Q committed Oct 2, 2023
2 parents 9b7f0ce + 36481c2 commit c2da95e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions Update.json
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,26 @@
"Description": "Update XMOJ.user.js"
}
]
},
"0.3.197": {
"UpdateDate": 1696237931701,
"Prerelease": true,
"UpdateContents": [
{
"PR": 8,
"Description": "Python small q patch 2"
}
]
},
"0.3.198": {
"UpdateDate": 1696238317981,
"Prerelease": false,
"UpdateContents": [
{
"PR": 8,
"Description": "Python small q patch 2"
}
]
}
}
}
4 changes: 2 additions & 2 deletions XMOJ.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 小明的OJ增强脚本
// @version 0.3.196
// @version 0.3.198
// @description 小明的OJ增强脚本
// @author @PythonSmall-Q & langningchen
// @namespace https://github/PythonSmall-Q
Expand Down Expand Up @@ -330,7 +330,7 @@ GM_registerMenuCommand("重置数据", () => {
});

let SearchParams = new URLSearchParams(location.search);
let ServerURL = (UtilityEnabled("DebugMode") ? "https://langningchen.github.io/XMOJ-Script" : "https://web.xmoj-bbs.tech")
let ServerURL = (UtilityEnabled("DebugMode") ? "https://pythonsmall-q.github.io/XMOJ-Script/" : "https://web.seanoj.edu.eu.org")
let CurrentUsername = document.querySelector("#profile").innerText;
CurrentUsername = CurrentUsername.replaceAll(/[^a-zA-Z0-9]/g, "");
let IsAdmin = AdminUserList.indexOf(CurrentUsername) !== -1;
Expand Down

0 comments on commit c2da95e

Please sign in to comment.