bookmarklet to autoscroll websites
go to webpage to drag to bookmark bar
npm installnpm run serve- Start local development server at http://localhost:8080npm run build- Convert page-scroller.js to URL-encoded bookmarklet and update index.html and README.mdnpm run dev- Build and serve in one command
- Edit
page-scroller.jswith your bookmarklet code - Run
npm run buildto update the encoded bookmarklet in both files - Use
npm run serveto test locally
The build script automatically:
- Wraps your code in
(function(){ ... })() - URL-encodes it for bookmarklet use
- Updates the href in
index.html
