您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Work-around for LeetCode’s removed “Session Management” feature (see issue #22883). It emulates the legacy behaviour by creating a self-updating favorite list that contains every problem and automatically syncs it.
Userscript that revives LeetCode’s removed “Session Management” workflow by emulating a brand-new sessions: it creates a self-updating favorite list containing every problem while leaving all other lists and your global progress untouched.
Works automatically on bothleetcode.com/problemset/*
andleetcode.com/problem-list/*
pages. ⭐️ If you find the script useful, please give the repo a star — it really helps!
In 2024 LeetCode silently disabled “Create” button in Session Management section globally
(issue #22883).
LeetSession brings the feature back without touching LeetCode’s backend data:
DD MMM YYYY [LS]
format
Prerequisite: a userscript manager such as Tampermonkey or Violentmonkey.
Browser | Userscript Manager |
---|---|
Chrome / Edge / Brave | Tampermonkey |
Firefox | Violentmonkey |
leetsession.user.js
.The script defines an @updateURL
, so your manager will fetch new versions automatically.
[LS]
tag in the list name if you want daily auto-sync.createEmptyFavorite
, batchAddQuestionsToFavorite
, resetFavoriteSessionV2
, updateFavoriteNameDescriptionV2
).[LS]
; other lists are never queried or modified.localStorage
and runs silently every 24 h.PRs are welcome! ⭐️
MIT © 2025 Valentin Chizhov
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址