bookmarklet to autoscroll websites
go to webpage to drag to bookmark bar
npm install
npm 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.js
with your bookmarklet code - Run
npm run build
to update the encoded bookmarklet in both files - Use
npm run serve
to test locally
The build script automatically:
- Wraps your code in
(function(){ ... })()
- URL-encodes it for bookmarklet use
- Updates the href in
index.html