xmoj-script 1.1.64 → 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.
@@ -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/Images/1.png CHANGED
Binary file
package/Images/10.png CHANGED
Binary file
package/Images/11.png CHANGED
Binary file
package/Images/12.png CHANGED
Binary file
package/Images/13.png CHANGED
Binary file
package/Images/14.png CHANGED
Binary file
package/Images/15.png CHANGED
Binary file
package/Images/16.png CHANGED
Binary file
package/Images/17.png CHANGED
Binary file
package/Images/2.png CHANGED
Binary file
package/Images/3.png CHANGED
Binary file
package/Images/4.png CHANGED
Binary file
package/Images/5.png CHANGED
Binary file
package/Images/6.png CHANGED
Binary file
package/Images/7.png CHANGED
Binary file
package/Images/8.png CHANGED
Binary file
package/Images/9.png CHANGED
Binary file
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
- [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FXMOJ-Script-dev%2FXMOJ-Script.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FXMOJ-Script-dev%2FXMOJ-Script?ref=badge_large)
131
+ [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FXMOJ-Script-dev%2FXMOJ-Script.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FXMOJ-Script-dev%2FXMOJ-Script?ref=badge_large)
132
+
133
+
package/Update.json CHANGED
@@ -1535,6 +1535,74 @@
1535
1535
  }
1536
1536
  ],
1537
1537
  "Notes": "No release notes were provided for this release."
1538
+ },
1539
+ "1.1.65": {
1540
+ "UpdateDate": 1714819512051,
1541
+ "Prerelease": false,
1542
+ "UpdateContents": [
1543
+ {
1544
+ "PR": 514,
1545
+ "Description": "支持跳转到讨论编号 修改讨论区用户界面 在讨论区Page过大时自动跳转 在讨论区最后一页自动删除"
1546
+ },
1547
+ {
1548
+ "PR": 515,
1549
+ "Description": "允许管理在用户页管理badge并在修改badge后清除缓存"
1550
+ },
1551
+ {
1552
+ "PR": 516,
1553
+ "Description": "revert #514"
1554
+ },
1555
+ {
1556
+ "PR": 517,
1557
+ "Description": "Auto Read Short message mentions"
1558
+ },
1559
+ {
1560
+ "PR": 519,
1561
+ "Description": "Refresh Short Messages at fixed intervals (experimental)"
1562
+ },
1563
+ {
1564
+ "PR": 522,
1565
+ "Description": "chore: 删除被 @boomzero 除名的开发组成员"
1566
+ },
1567
+ {
1568
+ "PR": 523,
1569
+ "Description": "Revert Refresh Short Messages at fixed intervals (experimental)"
1570
+ }
1571
+ ],
1572
+ "Notes": "No release notes were provided for this release."
1573
+ },
1574
+ "1.1.66": {
1575
+ "UpdateDate": 1714821016028,
1576
+ "Prerelease": true,
1577
+ "UpdateContents": [
1578
+ {
1579
+ "PR": 526,
1580
+ "Description": "[ImgBot] Optimize images"
1581
+ }
1582
+ ],
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."
1538
1606
  }
1539
1607
  }
1540
1608
  }
package/XMOJ.png CHANGED
Binary file
package/XMOJ.user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // ==UserScript==
2
2
  // @name XMOJ
3
- // @version 1.1.64
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 = `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmoj-script",
3
- "version": "1.1.64",
3
+ "version": "1.1.68",
4
4
  "description": "an improvement script for xmoj.tech",
5
5
  "main": "AddonScript.js",
6
6
  "scripts": {