Skip to content

Commit b957493

Browse files
authored
Merge pull request #768 from XMOJ-Script-dev/dev
sync: dev to extern-contrib
2 parents 6869b45 + 4a3768d commit b957493

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

Update.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2692,6 +2692,17 @@
26922692
}
26932693
],
26942694
"Notes": "This was so hard......"
2695+
},
2696+
"1.2.75": {
2697+
"UpdateDate": 1738974525711,
2698+
"Prerelease": true,
2699+
"UpdateContents": [
2700+
{
2701+
"PR": 767,
2702+
"Description": "进入讨论后给出题目的链接 "
2703+
}
2704+
],
2705+
"Notes": "No release notes were provided for this release."
26952706
}
26962707
}
26972708
}

XMOJ.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name XMOJ
3-
// @version 1.2.74
3+
// @version 1.2.75
44
// @description XMOJ增强脚本
55
// @author @XMOJ-Script-dev, @langningchen and the community
66
// @namespace https://github/langningchen
@@ -4847,7 +4847,7 @@ int main()
48474847
Delete.style.display = "";
48484848
}
48494849
}
4850-
PostTitle.innerText = ResponseData.Data.Title + (ResponseData.Data.ProblemID == 0 ? "" : ` - 题目` + ResponseData.Data.ProblemID);
4850+
PostTitle.innerHTML = ResponseData.Data.Title + (ResponseData.Data.ProblemID == 0 ? "" : ` - 题目` + ` <a href="https://www.xmoj.tech/problem.php?id=` + ResponseData.Data.ProblemID + `">` + ResponseData.Data.ProblemID + `</a>`);
48514851
document.title = "讨论" + ThreadID + ": " + ResponseData.Data.Title;
48524852
PostAuthor.innerHTML = "<span></span>";
48534853
GetUsernameHTML(PostAuthor.children[0], ResponseData.Data.UserID);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xmoj-script",
3-
"version": "1.2.74",
3+
"version": "1.2.75",
44
"description": "an improvement script for xmoj.tech",
55
"main": "AddonScript.js",
66
"scripts": {

0 commit comments

Comments
 (0)