Greasy Fork is available in English.
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