Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* #473

* Okay, but don't file an issue because of this

* 1.1.68

* Update version info to 1.1.68

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
boomzero and github-actions[bot] authored Jun 18, 2024
1 parent f603da0 commit fff3888
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
11 changes: 11 additions & 0 deletions Update.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}
}
6 changes: 4 additions & 2 deletions XMOJ.user.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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 = `
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit fff3888

Please sign in to comment.