diff --git a/Update.json b/Update.json index 4596e5f4..b2451dd5 100644 --- a/Update.json +++ b/Update.json @@ -1592,6 +1592,17 @@ } ], "Notes": "No release notes were provided for this release." + }, + "1.1.68": { + "UpdateDate": 1718670038883, + "Prerelease": true, + "UpdateContents": [ + { + "PR": 544, + "Description": "fix https://www.xmoj.tech/open_contest_sign_up.php" + } + ], + "Notes": "No release notes were provided for this release." } } } \ No newline at end of file diff --git a/XMOJ.user.js b/XMOJ.user.js index 7a4f1dfd..7915050b 100644 --- a/XMOJ.user.js +++ b/XMOJ.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name XMOJ -// @version 1.1.67 +// @version 1.1.68 // @description XMOJ增强脚本 // @author @XMOJ-Script-dev, @langningchen and the community // @namespace https://github/langningchen @@ -396,6 +396,9 @@ async function main() { if (location.host != "www.xmoj.tech") { location.host = "www.xmoj.tech"; } else { + if (location.href === 'https://www.xmoj.tech/open_contest_sign_up.php') { + return; + } document.body.classList.add("placeholder-glow"); if (document.querySelector("#navbar") != null) { if (document.querySelector("body > div > div.jumbotron") != null) { @@ -540,7 +543,6 @@ async function main() { if (UtilityEnabled("RemoveUseless") && document.getElementsByTagName("marquee")[0] != undefined) { document.getElementsByTagName("marquee")[0].remove(); } - let Style = document.createElement("style"); document.body.appendChild(Style); Style.innerHTML = ` diff --git a/package.json b/package.json index 639649db..9a73d435 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xmoj-script", - "version": "1.1.67", + "version": "1.1.68", "description": "an improvement script for xmoj.tech", "main": "AddonScript.js", "scripts": {