简介
在 DBX 插件中心登录力扣(leetcode.cn)账号,按官方分类与标签浏览题库、排序与筛选、收藏题目、查看每日一题与学习计划,并选择语言编写代码运行 / 提交判题。
权限
3 项权限
权限代码在安装时授予,此处按 manifest 原文展示。
| 平台 | 大小 | SHA-256 | 下载 |
|---|---|---|---|
| Windows(x64) | 2.5 MB | 0dc9f035ddd6c1d8… | 下载 |
版本历史
- v0.3.122026年10月1日最新
- v0.3.112026年9月24日
Judge fixes, official-style result and history panels, and a format button. - Run and Submit were both broken against leetcode.cn. The code must be sent as typed_code (the plugin sent codedetail, so the server answered "解答提交 POST 数据丢失"), verdicts now poll /submissions/detail/<id>/check/ for runs and /v2/check/ for submissions, and state is PENDING / SUCCESS / FAILURE / REVOKED — waiting for the legacy "Finished" made every judge burn the whole poll budget and report a timeout even after the answer had already been accepted. - Result fields are mapped to what the check endpoints actually return (std_output / std_output_list, compare_result, total_correct, total_testcases, last_testcase, full_compile_error, full_runtime_error), so the verdict panel shows output instead of blanks. - Submission history fixed: submissionList declares offset and limit as non-null; omitting offset made the server answer "发生未知错误,请联系管理员". - UI: verdict card (status + 执行用时 / 内存消耗 / 通过用例 + 输入 / 输出 / 预期结果) and a history table laid out like the site; new 格式化 button using prettier for JavaScript and TypeScript, whitespace-only normalisation elsewhere (prettier has no parser for Go / Python / Java / C++ / Rust, and brace-depth re-indenting would corrupt indentation-significant languages). - Verified locally on a real signed-in session: run and submit return verdicts in seconds, the history table renders, formatting works.
- v0.3.102026年9月23日
0.3.10 — 题库筛选与力扣官网对齐,并修正收藏与头像。 新增:官方分类页签(全部题目/算法/数据库/Shell/多线程/JavaScript/pandas);79 个标签芯片带实时题数(计数取自 questionTopicTags,可多选、可展开收起);难度与作答状态筛选;排序(题号/难度/通过率/出题频率/竞赛分 + 升降序,选择后按整份筛选结果排序而非当前页);随机一题(在当前筛选与分类范围内);每行收藏星标;我的收藏;每日一题与学习计划在插件内渲染;顶部显示力扣真实头像。 修复:收藏此前调用的 REST 路径返回 HTML,导致点星星必然失败——现改用官方前端 bundle 中的 addQuestionToDefaultFavoriteV2 / removeQuestionFromFavoriteV2;标签栏把「展开」控件一起裁掉导致完整标签无法访问;请求在飞时丢弃点击(表现为按钮无反应);todayRecord 返回数组、bookIds 为 JSON 字符串两处解析问题。 说明:LeetBook 入口暂时隐藏(其书列表查询对匿名会话不可用);服务端关键词搜索需要登录,未登录时界面会明确提示。
- v0.2.22026年9月21日
0.2.2 修复 issue #3:代理环境下登录检测超时——插件后端访问 leetcode.cn 现在尊重系统代理环境变量(HTTP_PROXY/HTTPS_PROXY/ALL_PROXY/NO_PROXY)并加了连接/读取超时;本机 Chrome DevTools 调用单独走无代理通道,避免代理劫持 127.0.0.1;前端登录轮询超时由 15s 放宽到 28s 且瞬时错误自动重试。延续 0.2.1(会员题兜底、编辑器语法高亮)与 0.2.0(免粘贴浏览器登录、分页、做题页全屏、昵称显示)。
- v0.2.12026年9月20日
0.2.1 修复两个 issue:#1 会员/内容为空的题目不再空白,改为明确提示 + 重试;#2 代码编辑器新增自实现语法高亮(按语言切换、行号、Tab/回车缩进)。延续 0.2.0:免粘贴浏览器登录(受控 Chrome/Edge + DevTools 取回,start+poll 规避 30s 超时)、isSignedIn 校验修复、题面字段归一化、昵称显示、分页、题面/代码可拖动分隔与做题页全屏。
- v0.2.02026年9月20日
免粘贴登录:插件启动一个受控 Chrome/Edge 打开力扣官方登录页,用户用账号密码/验证码登录后,插件通过 Chrome DevTools 协议读取已解密的会话 Cookie(绕开运行期文件锁与 App-Bound 加密),并采用 start+poll 拆分以规避主机 30s 单请求超时。修复登录校验字段(userStatus.isSignedIn)与题面字段归一化(题号/中文标题/中文题面)。新增昵称显示、分页(可切换每页数量)、题面/代码可拖动分隔与做题页全屏。
- v0.1.42026年9月19日
Manifest spec alignment (host.network + stdio-jsonl transport); calibrated GraphQL (problemsetQuestionList/translatedTitle/stats); difficulty+tag filters; favorite toggle + submission history (login-gated).