xmoj-script 1.1.11 → 1.1.13

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/AddonScript.js CHANGED
@@ -1,10 +0,0 @@
1
- if (localStorage.getItem("UserScript-ImportantNotice-20231015") == null) {
2
- let InputValue = prompt("警告!警告!警告!请仔细阅读以下内容!请检查你是否安装了两个脚本! 如果是, 请删除一个. 如果你已经明白了这些内容,那么请在下方输入“我已知晓”并点击确定。");
3
- if (InputValue != "我已知晓") {
4
- alert("您输入的内容不正确!请重新安装用户脚本!安装指南在https://www.seanoj.edu.eu.org/#Install。");
5
- window.location.href = "https://www.seanoj.edu.eu.org/#Install";
6
- }
7
- else {
8
- localStorage.setItem("UserScript-ImportantNotice-20231015", "true")
9
- }
10
- }
package/Update.json CHANGED
@@ -889,6 +889,28 @@
889
889
  }
890
890
  ],
891
891
  "Notes": "增加bug上报和主页按钮"
892
+ },
893
+ "1.1.12": {
894
+ "UpdateDate": 1704017187302,
895
+ "Prerelease": true,
896
+ "UpdateContents": [
897
+ {
898
+ "PR": 329,
899
+ "Description": "增加权限"
900
+ }
901
+ ],
902
+ "Notes": "No release notes were provided for this release."
903
+ },
904
+ "1.1.13": {
905
+ "UpdateDate": 1704936560583,
906
+ "Prerelease": true,
907
+ "UpdateContents": [
908
+ {
909
+ "PR": 340,
910
+ "Description": "add the native link"
911
+ }
912
+ ],
913
+ "Notes": "No release notes were provided for this release."
892
914
  }
893
915
  }
894
916
  }
package/XMOJ.user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // ==UserScript==
2
2
  // @name XMOJ
3
- // @version 1.1.11
3
+ // @version 1.1.13
4
4
  // @description XMOJ增强脚本
5
5
  // @author @XMOJ-Script-dev, @langningchen and the community
6
6
  // @namespace https://github/langningchen
@@ -17,6 +17,8 @@
17
17
  // @grant GM_xmlhttpRequest
18
18
  // @grant GM_setClipboard
19
19
  // @grant unsafeWindow
20
+ // @grant GM_setValue
21
+ // @grant GM_getValue
20
22
  // @homepage https://www.xmoj-bbs.tech/
21
23
  // @supportURL https://github.com/XMOJ-Script-dev/XMOJ-Script
22
24
  // @connect api.xmoj-bbs.tech
@@ -3300,6 +3302,10 @@ int main()
3300
3302
  "Name": "Bloodshed Dev-C++",
3301
3303
  "Image": "https://a.fsdn.com/allura/p/dev-cpp/icon",
3302
3304
  "URL": "https://sourceforge.net/projects/dev-cpp/"
3305
+ }, {
3306
+ "Name": "DevC++ 5.11 TDM-GCC 4.9.2",
3307
+ "Image": "https://www.xmoj.tech/image/devcpp.png",
3308
+ "URL": "https://www.xmoj.tech/downloads/Dev-Cpp+5.11+TDM-GCC+4.9.2+Setup.exe"
3303
3309
  }, {
3304
3310
  "Name": "Orwell Dev-C++",
3305
3311
  "Image": "https://a.fsdn.com/allura/p/orwelldevcpp/icon",
package/index.html CHANGED
@@ -942,6 +942,7 @@ END OF TERMS AND CONDITIONS
942
942
  </div>
943
943
  </div>
944
944
  </body>
945
-
945
+ <center></centre><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.11",
3
+ "version": "1.1.13",
4
4
  "description": "an improvement script for xmoj.tech",
5
5
  "main": "AddonScript.js",
6
6
  "scripts": {