Modifies the Instacart orders page to make nicer-looking PDFs.
See the example
directory for the difference.
So I can email my parents the list of things I ordered without it being an eyesore.
-
Visit an orders page
https://www.instacart.com/store/orders/<id>
-
Run the bookmarklet in the
fix.min.js
file. -
Save the page as a PDF from your browser's print dialog
-
Edit
proxyURL
in fix.ts to point to the local server -
Start Google Chrome; if the local server doesn't use https, include the
--allow-running-insecure-content
flag -
Run the local proxy server
go run proxy.go
-
Paste the script into the console
Edit proxyURL
in fix.ts with the address of your server. Then run
make bookmarklet
to re-generate the bookmarklet.