Showing the β€œDone %” on my Audible β€˜listen history’ page

I do most of my fiction reading these days with Audible and track my reads via Goodreads. Now Goodreads has a way to update progress in 2 ways:

  1. Currently ____ % done
  2. Currently on ____ of XXX

So one is percent based progress update and one is a page based progress update. The page based update works very well for physical books but won’t work at all for audiobooks. What would work there, is the percent based update.

However, in the audible listen history page each entry looks like this:

audible history - beforeaudible history - before

This does not have an indication of how much of the book I have finished. It only has how much of the book is left to finish.

Till now, the way I used to update my Goodreads, is via a custom function I had written inside a calculator program I use - Speedcrunch to do the β€œDone %” calculation. But that would mean that I had to open this program every time and then look at the time left on audible and then generate the β€œDone %”. This got annoying.

Yesterday I had a brainwave πŸ’‘ that the progress bar for each entry actually has the β€œDone %” data. All I needed to do, was to surface that and I’d have my answer.

Given I was in Javascript land, this was quite easy to theorize - For each of those entries, I had to pick the value from the progress bar and show it somewhere.

I checked the HTML structure for the div that I was interested in, and headed over to Claude to assist me with writing this script. You can read the entire transcript here.

Basically:

  • Go through all the entries on the listen history page
  • Note down the value in the progress bar
  • Append to the end of the 3h 11m left the value from the progress bar.

The result was something like this:

audible history - afteraudible history - after

This was enough for me πŸ™‚ since it is all I needed, now I can update my Goodreads by just looking at this value on the audible page.

The next part of this, was to make sure that this script ran everytime when I opened the audible listen history page. Claude helped me out with that too with a Firefox addon called Tampermonkey where I can add this as a script with the URL and it’ll run it for me - pretty handy! I did that and now whenever I visit the listen history page, I have this data at the ready!

The Tampermonkey script is available here as a GitHub gist in case you want to use it.

Mission success.


Date
May 12, 2025