To usage Reddit++ follow next steps:
- Install
tampermonkey
,violentmonkey
or any other userscript manager. - Go to script homepage and click install.
That template is used for project.
Using Visual Studio Code
is recommended.
Required Node.js
.
Command npm i
to install dependencies
Command npm run debug
to start debug process
Add generated script-wrapper redditPlusPlus.dev.user.js
from /dist
to userscript manager
Allow local files for userscript manager (extesions > details > allow access to file URLs).
While debug process is running the script automatically refresh in browser
To stop debug process kill active terminal
Command npm run preview
to build preview of production in /dist
Command npm run release
to build production in /public
and automatically patch version
Debug process periodically gones to memory leak that's crash browser.
Intersection observer cause poor performance in posts with a lot of comments.