Ask HN: Share your favorite tampermonkey script
What’s your favorite tampermonkey script which might have saved you hours
What’s your favorite tampermonkey script which might have saved you hours
There are also category listings on the side of this page that include a count of the items in each category, so I store those values in localStorage as well, and compute the delta on each refresh. The category is then highlighted with a pale green or pale red background if the count increased or decreased, respectively. Finally, I append the delta amount to the element’s text. “Widgets and Frambulators (17)” turns into “Widgets and Frambulators (17) (+5)” if five new items are in that category since the last page load.
Thankfully, this site uses CSS Grids for this particular product listing, so moving a container to the top is as simple as setting its order property to 1.
the two that I have are inline hacker news commenting, and Amazon item descriptions in my gmail instead of just the order id
There's also the script I use to send me a desktop notification (again, by pinging a local http server) whenever I've been spending too much time on Twitter. That's saved me hours in a different sense.