xmoj-script 1.1.66 → 1.1.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.all-contributorsrc +45 -0
- package/README.md +35 -1
- package/Update.json +22 -0
- package/XMOJ.user.js +4 -2
- package/package.json +1 -1
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
"projectName": "XMOJ-Script",
|
3
|
+
"projectOwner": "XMOJ-Script-dev",
|
4
|
+
"files": [
|
5
|
+
"README.md"
|
6
|
+
],
|
7
|
+
"commitType": "docs",
|
8
|
+
"commitConvention": "angular",
|
9
|
+
"contributorsPerLine": 7,
|
10
|
+
"contributors": [
|
11
|
+
{
|
12
|
+
"login": "boomzero",
|
13
|
+
"name": "Zhu Chenrui",
|
14
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/85378277?v=4",
|
15
|
+
"profile": "https://github.com/boomzero",
|
16
|
+
"contributions": [
|
17
|
+
"bug",
|
18
|
+
"design",
|
19
|
+
"maintenance",
|
20
|
+
"code"
|
21
|
+
]
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"login": "PythonSmall-Q",
|
25
|
+
"name": "Shan Wenxiao",
|
26
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/106425289?v=4",
|
27
|
+
"profile": "https://github.com/PythonSmall-Q",
|
28
|
+
"contributions": [
|
29
|
+
"maintenance",
|
30
|
+
"design",
|
31
|
+
"bug",
|
32
|
+
"code"
|
33
|
+
]
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"login": "langningchen",
|
37
|
+
"name": "Langning Chen",
|
38
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/81672884?v=4",
|
39
|
+
"profile": "https://github.com/langningchen",
|
40
|
+
"contributions": [
|
41
|
+
"design"
|
42
|
+
]
|
43
|
+
}
|
44
|
+
]
|
45
|
+
}
|
package/README.md
CHANGED
@@ -10,6 +10,8 @@
|
|
10
10
|
|
11
11
|
原项目: https://github.com/langningchen/XMOJ-Script
|
12
12
|
|
13
|
+
<a href="https://www.producthunt.com/posts/oj?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-oj" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=458051&theme=light" alt="小明的OJ增强脚本 - 小明的OJ增强脚本 | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
14
|
+
|
13
15
|
### 帮助文档
|
14
16
|
地址:https://docs.xmoj-bbs.tech
|
15
17
|
仓库:https://github.com/XMOJ-Script-dev/docs
|
@@ -93,7 +95,39 @@ npm install
|
|
93
95
|
npx wrangler d1 execute DB --file ./Source/Initial.sql --local
|
94
96
|
npx wrangler dev
|
95
97
|
```
|
98
|
+
## Contributors
|
99
|
+
|
100
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
101
|
+
<!-- prettier-ignore-start -->
|
102
|
+
<!-- markdownlint-disable -->
|
103
|
+
|
104
|
+
<!-- markdownlint-restore -->
|
105
|
+
<!-- prettier-ignore-end -->
|
106
|
+
|
107
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
108
|
+
|
109
|
+
## Contributors
|
110
|
+
|
111
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
112
|
+
<!-- prettier-ignore-start -->
|
113
|
+
<!-- markdownlint-disable -->
|
114
|
+
<table>
|
115
|
+
<tbody>
|
116
|
+
<tr>
|
117
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/boomzero"><img src="https://avatars.githubusercontent.com/u/85378277?v=4?s=100" width="100px;" alt="Zhu Chenrui"/><br /><sub><b>Zhu Chenrui</b></sub></a><br /><a href="#bug-boomzero" title="Bug reports">🐛</a> <a href="#design-boomzero" title="Design">🎨</a> <a href="#maintenance-boomzero" title="Maintenance">🚧</a> <a href="#code-boomzero" title="Code">💻</a></td>
|
118
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/PythonSmall-Q"><img src="https://avatars.githubusercontent.com/u/106425289?v=4?s=100" width="100px;" alt="Shan Wenxiao"/><br /><sub><b>Shan Wenxiao</b></sub></a><br /><a href="#maintenance-PythonSmall-Q" title="Maintenance">🚧</a> <a href="#design-PythonSmall-Q" title="Design">🎨</a> <a href="#bug-PythonSmall-Q" title="Bug reports">🐛</a> <a href="#code-PythonSmall-Q" title="Code">💻</a></td>
|
119
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/langningchen"><img src="https://avatars.githubusercontent.com/u/81672884?v=4?s=100" width="100px;" alt="Langning Chen"/><br /><sub><b>Langning Chen</b></sub></a><br /><a href="#design-langningchen" title="Design">🎨</a></td>
|
120
|
+
</tr>
|
121
|
+
</tbody>
|
122
|
+
</table>
|
123
|
+
|
124
|
+
<!-- markdownlint-restore -->
|
125
|
+
<!-- prettier-ignore-end -->
|
126
|
+
|
127
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
96
128
|
|
97
129
|
|
98
130
|
## License
|
99
|
-
[](https://app.fossa.com/projects/git%2Bgithub.com%2FXMOJ-Script-dev%2FXMOJ-Script?ref=badge_large)
|
131
|
+
[](https://app.fossa.com/projects/git%2Bgithub.com%2FXMOJ-Script-dev%2FXMOJ-Script?ref=badge_large)
|
132
|
+
|
133
|
+
|
package/Update.json
CHANGED
@@ -1581,6 +1581,28 @@
|
|
1581
1581
|
}
|
1582
1582
|
],
|
1583
1583
|
"Notes": "No release notes were provided for this release."
|
1584
|
+
},
|
1585
|
+
"1.1.67": {
|
1586
|
+
"UpdateDate": 1714822822741,
|
1587
|
+
"Prerelease": false,
|
1588
|
+
"UpdateContents": [
|
1589
|
+
{
|
1590
|
+
"PR": 526,
|
1591
|
+
"Description": "[ImgBot] Optimize images"
|
1592
|
+
}
|
1593
|
+
],
|
1594
|
+
"Notes": "No release notes were provided for this release."
|
1595
|
+
},
|
1596
|
+
"1.1.68": {
|
1597
|
+
"UpdateDate": 1718670038883,
|
1598
|
+
"Prerelease": true,
|
1599
|
+
"UpdateContents": [
|
1600
|
+
{
|
1601
|
+
"PR": 544,
|
1602
|
+
"Description": "fix https://www.xmoj.tech/open_contest_sign_up.php"
|
1603
|
+
}
|
1604
|
+
],
|
1605
|
+
"Notes": "No release notes were provided for this release."
|
1584
1606
|
}
|
1585
1607
|
}
|
1586
1608
|
}
|
package/XMOJ.user.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// ==UserScript==
|
2
2
|
// @name XMOJ
|
3
|
-
// @version 1.1.
|
3
|
+
// @version 1.1.68
|
4
4
|
// @description XMOJ增强脚本
|
5
5
|
// @author @XMOJ-Script-dev, @langningchen and the community
|
6
6
|
// @namespace https://github/langningchen
|
@@ -396,6 +396,9 @@ async function main() {
|
|
396
396
|
if (location.host != "www.xmoj.tech") {
|
397
397
|
location.host = "www.xmoj.tech";
|
398
398
|
} else {
|
399
|
+
if (location.href === 'https://www.xmoj.tech/open_contest_sign_up.php') {
|
400
|
+
return;
|
401
|
+
}
|
399
402
|
document.body.classList.add("placeholder-glow");
|
400
403
|
if (document.querySelector("#navbar") != null) {
|
401
404
|
if (document.querySelector("body > div > div.jumbotron") != null) {
|
@@ -540,7 +543,6 @@ async function main() {
|
|
540
543
|
if (UtilityEnabled("RemoveUseless") && document.getElementsByTagName("marquee")[0] != undefined) {
|
541
544
|
document.getElementsByTagName("marquee")[0].remove();
|
542
545
|
}
|
543
|
-
|
544
546
|
let Style = document.createElement("style");
|
545
547
|
document.body.appendChild(Style);
|
546
548
|
Style.innerHTML = `
|