This template is based on Vite and vite-userscript-plugin.
To use user scripts you need to first install a user script manager. Which user script manager you can use depends on which browser you use.
- Chrome: Tampermonkey or Violentmonkey
- Firefox: Greasemonkey, Tampermonkey, or Violentmonkey
- Safari: Tampermonkey or Userscripts
- Microsoft Edge: Tampermonkey
- Opera: Tampermonkey or Violentmonkey
- Maxthon: Violentmonkey
- Dolphin: Tampermonkey
- UC: Tampermonkey
- Navigate to
chrome://flags/#allow-insecure-localhost
, enable insecure localhost - Navigate to
chrome://extensions/?id=dhdgffkkebhmkfjojejmpbldmpobfkfo
(Chrome manage extensions page ofTampermonkey
) and enableAllow access to file URLs
(you need to manual reload page when dev userscript, see #475 for more detail) pnpm install
pnpm dev
- After it starts up, it open browser for install the proxy script.