Version 3 also uses the standard Comments in Local Time gadget rather than incorporating my cloned and modified version.
The script does not alter any article but it highlights recent talk posts so that they are easier to read. It also provides a table of contents to the new talk posts and counters of how many posts were from yesterday and today.
Use
The script hunts for timestamps previously created by the CommentsInLocalTime gadget and selects any that are for yesterday and today.
It then adds a background colour and border around each of the posts.
If any posts were found, the script will:
add a menu button showing the count — clicking the menu item will scroll to the first post of that day
build a table of the posts, sorted into time order, and add this table to the left-hand sidebar
To provide space in the sidebar, the script also alters the existing sidebar menus so that they can be collapsed.