Lurker News
I learned about a ton of useful CLIs, desktop apps, and SaaS products from this thread (https://news.ycombinator.com/item?id=13887237).

But it was posted 3 years ago, and perhaps some useful stuff has emerged in the interim, hence my starting this thread.

Comments (516) 196 threads

Show all comments

Showing thread 101 of 196

chucky_z1 reply#
TamperMonkey! I've dealt with some monstrous websites which needed in-browser user-friendly automation, and TamperMonkey is that tool for the job.
anjanb1 reply#
can you share some examples please ?
chucky_z#
I cannot, as it was for a past employer and the code is not open-source.

I used TamperMonkey to include https://www.papaparse.com/, then injected a button into a web page. The user would navigate to the "start" page, and a button would appear, it was just a normal form button. They would upload a CSV, which I slurped into a cookie, webdb... and something else. That would then walk a known set of URLs to scrape the unknown URLs and click the required buttons to trigger javascript calls by the website itself, before building a further set of URLs to navigate. It would visit the "final" set of URLs, gather the info into a secondary CSV, then walk back up to the entrypoint before going to the second entry.
At the end, it would download the secondary CSV to the users disk in a format that was uploadable to another system.
The entire thing was in a single if statement because I was just learning JavaScript and did not know any other way to get around async problems at the time. :)
It was ugly, but worked awesome and since writing it several years ago has probably saved 10s of thousands of hours.