xmoj-script 1.1.21 → 1.1.23

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.
@@ -2,7 +2,7 @@ name: Generate sitemap
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ master ]
5
+ branches: [ dev ]
6
6
 
7
7
  jobs:
8
8
  sitemap_job:
package/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
  ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/XMOJ-Script-dev/XMOJ-Script)
5
5
  ![GitHub release](https://img.shields.io/github/v/release/XMOJ-Script-dev/XMOJ-Script)
6
6
  ![GitHub issues](https://img.shields.io/github/issues/XMOJ-Script-dev/XMOJ-Script)
7
+ [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FXMOJ-Script-dev%2FXMOJ-Script.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FXMOJ-Script-dev%2FXMOJ-Script?ref=badge_shield)
7
8
 
8
9
  [点击此处访问官网查看更多内容](https://web.xmoj-bbs.tech)
9
10
 
@@ -74,9 +75,17 @@
74
75
 
75
76
  小明的OJ增强脚本开发期待以您的邂逅!
76
77
 
78
+ ### 赞助我们
79
+ 你想贡献出你收入的很小一部分来支持我们的开发吗?欢迎在open collective上支持我们!
80
+
81
+ 链接戳[这里](https://opencollective.com/xmoj-script-dev)。
82
+
77
83
  > [!IMPORTANT]
78
84
  > 请注意, 外部开发者应向`extern-contrib`提交 pull requests。
79
85
 
86
+ ### Project Status
87
+ [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FXMOJ-Script-dev%2FXMOJ-Script.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2FXMOJ-Script-dev%2FXMOJ-Script?ref=badge_shield&issueType=license)
88
+
80
89
  ### How to set up a development server
81
90
  ```bash
82
91
  cd backend
@@ -84,3 +93,7 @@ npm install
84
93
  npx wrangler d1 execute DB --file ./Source/Initial.sql --local
85
94
  npx wrangler dev
86
95
  ```
96
+
97
+
98
+ ## 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)
package/Update.json CHANGED
@@ -1038,6 +1038,28 @@
1038
1038
  }
1039
1039
  ],
1040
1040
  "Notes": "Oops, sorry. I forgot to add the spellcheck some text fields. Anyway, it's fixed now. 😅"
1041
+ },
1042
+ "1.1.22": {
1043
+ "UpdateDate": 1705983862747,
1044
+ "Prerelease": true,
1045
+ "UpdateContents": [
1046
+ {
1047
+ "PR": 378,
1048
+ "Description": "sleep for a sec after submitting to prevent xmoj from crashing"
1049
+ }
1050
+ ],
1051
+ "Notes": "No release notes were provided for this release."
1052
+ },
1053
+ "1.1.23": {
1054
+ "UpdateDate": 1706103530551,
1055
+ "Prerelease": true,
1056
+ "UpdateContents": [
1057
+ {
1058
+ "PR": 390,
1059
+ "Description": "更新support链接"
1060
+ }
1061
+ ],
1062
+ "Notes": "No release notes were provided for this release."
1041
1063
  }
1042
1064
  }
1043
1065
  }
package/XMOJ.user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // ==UserScript==
2
2
  // @name XMOJ
3
- // @version 1.1.21
3
+ // @version 1.1.23
4
4
  // @description XMOJ增强脚本
5
5
  // @author @XMOJ-Script-dev, @langningchen and the community
6
6
  // @namespace https://github/langningchen
@@ -20,7 +20,7 @@
20
20
  // @grant GM_setValue
21
21
  // @grant GM_getValue
22
22
  // @homepage https://www.xmoj-bbs.tech/
23
- // @supportURL https://github.com/XMOJ-Script-dev/XMOJ-Script
23
+ // @supportURL https://bugs.xmoj-bbs.tech
24
24
  // @connect api.xmoj-bbs.tech
25
25
  // @connect challenges.cloudflare.com
26
26
  // @connect cppinsights.io
@@ -1860,6 +1860,8 @@ else {
1860
1860
  "source=" + encodeURIComponent(Code) + "&" +
1861
1861
  "enable_O2=on"
1862
1862
  });
1863
+ //sleep for one second
1864
+ await new Promise(r => setTimeout(r, 500));
1863
1865
  }
1864
1866
  if (!Submitted) {
1865
1867
  AutoCheatButton.innerHTML = "没有可以提交的题目!";
package/index.html CHANGED
@@ -303,7 +303,7 @@
303
303
  开发,基于
304
304
  <a href="https://www.xmoj.tech" target="_blank">小明的OJ</a>
305
305
  平台。
306
- 该项目使用了GPL-3.0协议,请您在使用时遵守协议规定。
306
+ 该项目使用了GPL-3.0协议,请您在使用时遵守协议规定。如果您想参阅协议原文,请点击下方按钮。
307
307
  <div class="accordion" id="LicenseAccordion">
308
308
  <div class="accordion-item">
309
309
  <h2 class="accordion-header">
@@ -942,7 +942,6 @@ END OF TERMS AND CONDITIONS
942
942
  </div>
943
943
  </div>
944
944
  </body>
945
- <center></centre><a href="https://icp.gov.moe/?keyword=20240425" target="_blank">萌ICP备20240425号</a> </center>
945
+ <center>我们的网站在萌国备案啦!我们的备案号是:<a href="https://icp.gov.moe/?keyword=20240425" target="_blank">萌ICP备20240425号</a> </center>
946
946
  </html>
947
947
  <script src="https://xmojscript1.statuspage.io/embed/script.js"></script>
948
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmoj-script",
3
- "version": "1.1.21",
3
+ "version": "1.1.23",
4
4
  "description": "an improvement script for xmoj.tech",
5
5
  "main": "AddonScript.js",
6
6
  "scripts": {
package/sitemap.xml CHANGED
@@ -2,6 +2,6 @@
2
2
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
3
  <url>
4
4
  <loc>https://xmoj-bbs.tech/</loc>
5
- <lastmod>2024-01-21T12:49:34+08:00</lastmod>
5
+ <lastmod>2024-01-23T23:16:10+08:00</lastmod>
6
6
  </url>
7
7
  </urlset>