xmoj-script 1.1.48 → 1.1.51
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.
@@ -1,13 +1,13 @@
|
|
1
|
-
name:
|
1
|
+
name: Merge changes to extern-contrib
|
2
2
|
on:
|
3
3
|
push:
|
4
4
|
branches:
|
5
|
-
-
|
5
|
+
- dev
|
6
6
|
workflow_dispatch:
|
7
7
|
jobs:
|
8
8
|
create_pull_request:
|
9
9
|
name: 'Create PR'
|
10
|
-
if: github.ref == 'refs/heads/
|
10
|
+
if: github.ref == 'refs/heads/extern-contrib'
|
11
11
|
runs-on: ubuntu-latest
|
12
12
|
permissions:
|
13
13
|
pull-requests: write
|
@@ -27,7 +27,7 @@ jobs:
|
|
27
27
|
|
28
28
|
if (pulls.data.length < 1) {
|
29
29
|
await github.rest.pulls.create({
|
30
|
-
title: '
|
30
|
+
title: 'Merge dev into extern-contrib',
|
31
31
|
owner: owner,
|
32
32
|
repo: repo,
|
33
33
|
head: context.ref,
|
package/Update.json
CHANGED
@@ -1343,6 +1343,43 @@
|
|
1343
1343
|
}
|
1344
1344
|
],
|
1345
1345
|
"Notes": "No release notes were provided for this release."
|
1346
|
+
},
|
1347
|
+
"1.1.49": {
|
1348
|
+
"UpdateDate": 1709371832051,
|
1349
|
+
"Prerelease": true,
|
1350
|
+
"UpdateContents": [
|
1351
|
+
{
|
1352
|
+
"PR": 486,
|
1353
|
+
"Description": "fix showsource"
|
1354
|
+
}
|
1355
|
+
],
|
1356
|
+
"Notes": "No release notes were provided for this release."
|
1357
|
+
},
|
1358
|
+
"1.1.50": {
|
1359
|
+
"UpdateDate": 1710576508444,
|
1360
|
+
"Prerelease": false,
|
1361
|
+
"UpdateContents": [
|
1362
|
+
{
|
1363
|
+
"PR": 485,
|
1364
|
+
"Description": "and I am so frustrated I actually make another code contribution"
|
1365
|
+
},
|
1366
|
+
{
|
1367
|
+
"PR": 486,
|
1368
|
+
"Description": "fix showsource"
|
1369
|
+
}
|
1370
|
+
],
|
1371
|
+
"Notes": "No release notes were provided for this release."
|
1372
|
+
},
|
1373
|
+
"1.1.51": {
|
1374
|
+
"UpdateDate": 1710641069919,
|
1375
|
+
"Prerelease": true,
|
1376
|
+
"UpdateContents": [
|
1377
|
+
{
|
1378
|
+
"PR": 491,
|
1379
|
+
"Description": "Update ticket email"
|
1380
|
+
}
|
1381
|
+
],
|
1382
|
+
"Notes": "No release notes were provided for this release."
|
1346
1383
|
}
|
1347
1384
|
}
|
1348
1385
|
}
|
package/XMOJ.user.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// ==UserScript==
|
2
2
|
// @name XMOJ
|
3
|
-
// @version 1.1.
|
3
|
+
// @version 1.1.51
|
4
4
|
// @description XMOJ增强脚本
|
5
5
|
// @author @XMOJ-Script-dev, @langningchen and the community
|
6
6
|
// @namespace https://github/langningchen
|
@@ -21,7 +21,7 @@
|
|
21
21
|
// @grant GM_setValue
|
22
22
|
// @grant GM_getValue
|
23
23
|
// @homepage https://www.xmoj-bbs.tech/
|
24
|
-
// @supportURL https://
|
24
|
+
// @supportURL https://xmojscript.zohodesk.com/portal/zh/newticket
|
25
25
|
// @connect api.xmoj-bbs.tech
|
26
26
|
// @connect challenges.cloudflare.com
|
27
27
|
// @connect cppinsights.io
|
@@ -3566,6 +3566,8 @@ int main()
|
|
3566
3566
|
await fetch("https://www.xmoj.tech/getsource.php?id=" + SearchParams.get("id"))
|
3567
3567
|
.then((Response) => {
|
3568
3568
|
return Response.text();
|
3569
|
+
}).then((Response) => {
|
3570
|
+
Code = Response;
|
3569
3571
|
});
|
3570
3572
|
} else {
|
3571
3573
|
if (localStorage.getItem("UserScript-LastUploadedStdTime") === undefined || new Date().getTime() - localStorage.getItem("UserScript-LastUploadedStdTime") > 1000 * 60 * 60 * 24 * 30) {
|
@@ -4606,4 +4608,4 @@ int main()
|
|
4606
4608
|
}
|
4607
4609
|
}
|
4608
4610
|
|
4609
|
-
main();
|
4611
|
+
main();
|