Skip to content

Commit

Permalink
适配子平台 #285
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaojiaodubai committed Jan 9, 2024
1 parent e1e7967 commit cf0d945
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions ChinaXiv.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"translatorID": "9282aac1-9c13-4591-9c92-4da3a65ff4e5",
"label": "ChinaXiv",
"creator": "jiaojiaodubai23",
"target": "^https?://(www\\.)?chinaxiv\\.((org)|(las.ac.cn))",
"creator": "jiaojiaodubai",
"target": "^https?://.*chinaxiv\\.((org)|(las.ac.cn))",
"minVersion": "5.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2023-12-15 07:49:36"
"lastUpdated": "2024-01-09 12:20:04"
}

/*
Expand Down Expand Up @@ -37,7 +37,7 @@


function detectWeb(doc, url) {
Z.debug('---------- 2023-12-15 15:16:20 ----------');
Z.debug('---------- 2024-01-09 20:20:02 ----------');
if (url.includes('/abs/')) {
return 'preprint';
}
Expand Down Expand Up @@ -338,6 +338,16 @@ var testCases = [
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://phonomuse.chinaxiv.org/server/phoindex.htm",
"items": "multiple"
},
{
"type": "web",
"url": "http://nucl-ph.chinaxiv.org/server/nuclearphyindex.htm",
"items": "multiple"
}
]
/** END TEST CASES **/

0 comments on commit cf0d945

Please sign in to comment.