Appearance
OCSJS 接入文档
Token 配置生成器
注意
推荐使用 OCSJS-全域名版本 ,否则可能会遇到无法访问知识库的问题。
油叉安装: https://greasyfork.org/zh-CN/scripts/481438
脚本猫脚本站安装: https://scriptcat.org/zh-CN/script-show-page/1398
目前题库无法处理图片题目,如果您有包含图片的题目需要查询,请使用OCR搜题助手
题库不能保证100%正确,答题后请勿自动提交,请认真核对后再提交!
配置生成器
deepseek-v3: 1次/题
题库配置示例(请勿直接使用)
OCSJS-全域名版本
json
[
{
"name": "LIKE知识库",
"homepage": "https://www.datam.site",
"url": "https://api.datam.site/search",
"method": "post",
"type": "GM_xmlhttpRequest",
"contentType": "json",
"data": {
"token": "你的token",
"query": {
"handler": "return (env)=>{const type = env.type || ''; let prefix = ''; if(type === 'single' || type === 'multiple') prefix = '【选择题】'; else if(type === 'completion') prefix = '【填空题】'; else if(type === 'judgement') prefix = '【判断题】'; return prefix + env.title +env.options;}"
},
"model": "deepseek-v3",
"search": false
},
"handler": "return (res)=>{if(!res.success)return[];const data=res.data;if(data.type===1&&data.choose)return[data.info||'',data.choose.join('#')];else if(data.type===2&&data.fill)return[data.info||'',data.fill];else if(data.type===3&&data.judge!==undefined)return[data.info||'',data.judge?'对':'错'];else if(data.others)return[data.info||'',data.others];return[];}"
}
]