{"id":25953824,"url":"https://github.com/qfcy/welearnfillanswer","last_synced_at":"2025-03-04T15:36:53.599Z","repository":{"id":280234283,"uuid":"941373793","full_name":"qfcy/WelearnFillAnswer","owner":"qfcy","description":"WeLearn自动填入标准答案的js脚本 A javascript script to fill in standard answers on Welearn.","archived":false,"fork":false,"pushed_at":"2025-03-02T06:26:15.000Z","size":598,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T07:18:15.802Z","etag":null,"topics":["javascript","tampermonkey-userscript","welearn","welearn-bot"],"latest_commit_sha":null,"homepage":"https://greasyfork.org/en/scripts/528497-welearn%E8%87%AA%E5%8A%A8%E5%A1%AB%E5%85%A5%E6%A0%87%E5%87%86%E7%AD%94%E6%A1%88-filling-standard-answers-on-welearn","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qfcy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-02T06:02:55.000Z","updated_at":"2025-03-02T07:10:56.000Z","dependencies_parsed_at":"2025-03-02T14:30:19.769Z","dependency_job_id":null,"html_url":"https://github.com/qfcy/WelearnFillAnswer","commit_stats":null,"previous_names":["qfcy/welearnfillanswer"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qfcy%2FWelearnFillAnswer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qfcy%2FWelearnFillAnswer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qfcy%2FWelearnFillAnswer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qfcy%2FWelearnFillAnswer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qfcy","download_url":"https://codeload.github.com/qfcy/WelearnFillAnswer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241875126,"owners_count":20035208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","tampermonkey-userscript","welearn","welearn-bot"],"created_at":"2025-03-04T15:36:53.065Z","updated_at":"2025-03-04T15:36:53.588Z","avatar_url":"https://github.com/qfcy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## WeLearn自动填充答案脚本\n\nWeLearn自动填充标准答案的脚本，支持进入Welearn每节的学习页面之后，自动从html中隐藏的答案元素，填充答案信息。  \n自动填充答案，保证99.9999%准确，经实测能半小时刷完整本书的6个单元。  \n效果截图：\n\n![](images/fillAnswer.png)\n![](images/fillAnswer2.png)\n\n### 使用教程\n\n##### 1.浏览器开发工具\n\n首先进入WeLearn每节的学习页面，按下F12，打开浏览器的开发工具。  \n再切换到控制台，粘贴脚本并回车，即可成功填入答案。  \n注意如果浏览器显示“允许粘贴”导致粘贴失败，手输“允许粘贴”四个字再回车即可。  \n![](images/console.png)\n\n##### 2.油猴脚本\n\n**1.安装油猴浏览器插件**\n如果是Edge，直接在[篡改猴 - Edge 加载项](https://microsoftedge.microsoft.com/addons/detail/%E7%AF%A1%E6%94%B9%E7%8C%B4/iikmkjmpaadaobahmlepeloendndfphd)点击“获取”，安装这个扩展即可。  \n\n如果是Chrome并且不能用Chrome商店，首先打开[tampermonkey.net](https://www.tampermonkey.net/index.php)，再点击下载右侧的灰色按钮 (注意Chrome有时会拦截下载，允许即可)：\n\n![](images/download-greasy.png)\n\n点击Chrome右上角的`...`按钮，打开扩展页面：\n\n![](images/chrome-menu.png)\n\n把下载的文件拖入，就能安装油猴插件:\n\n![](images/drag-to-install-extensions.png)\n\n**2.安装脚本**\n\n安装脚本有GreasyFork和手动安装两种方法。  \n\n**2.1.GreasyFork**\n\n转到页面[welearn自动填入标准答案 · GreasyFork](https://greasyfork.org/en/scripts/528497-welearn%E8%87%AA%E5%8A%A8%E5%A1%AB%E5%85%A5%E6%A0%87%E5%87%86%E7%AD%94%E6%A1%88-filling-standard-answers-on-welearn)，再点击\"install\"，即可。  \n\n![](images/greasyfork.png)\n\n**2.2.手动新建脚本**\n\n打开油猴插件的管理面板，新建一个脚本，将已有的内容全部清空，从[welearn-greasyfork.js](welearn-greasyfork.js)复制全部代码，粘贴即可。  \n保存后回到管理面板页面，打开左侧的“启用”开关。  \n\n![](images/tampermonkey-extension.png)\n\n**3.运行脚本**\n最后打开WeLearn的学习页面，如果打开WeLearn之后，油猴插件的图标变成“![](images/tampermonkey-active.png)”，并且控制台出现了**userscript.html**的消息：\n\n![](images/console.png)\n\n则脚本运行成功。  \n\n### 用户反馈\n\n在本仓库的[issue](https://github.com/qfcy/WelearnFillAnswer/issues)页面，新建一个issue并提交，即可。  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqfcy%2Fwelearnfillanswer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqfcy%2Fwelearnfillanswer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqfcy%2Fwelearnfillanswer/lists"}