English | 简体中文
- LeetCode Toolkit
- Enhance LeetCode with various tweaking and additions. It supports both the US version of LeetCode.com, and the China version.
- NowCoder Toolkit
- Save NowCoder.com practice problems in markdown or Jupyter Notebook.
To use a userscript, you'll first need to install a userscript manager for your browser, such as Tampermonkey (available for Chrome, Firefox, and many other browsers).
After that, go to the respective GreasyFork page of the userscript, and click on the Install button to install the script.
This repo utilizes vite-plugin-monkey to develop and build the userscripts.
-
Clone the repo
-
Install dependencies
cd path-to-repo pnpm install
-
Start development server
pnpm -F name-of-script dev # Alternative cd path-to-repo/userscripts/path-to-script pnpm
-
Build the script
pnpm -F name-of-script dev # Alternative cd path-to-repo/userscripts/path-to-script pnpm build
The built file will be under
dist
directory.
MIT