Upgrade to EhxVisited (sleazyfork.org/en/scripts/377945)
From what I can tell it works if you already have galleries visited but doesn't if you clear them visited. My old PC was updating until I cleared it. Not it doesn't.
Well I did get it to work. I imported a value of null so it had an entry. Then it started to mark galleries as viewed. Then I imported the galleries without the null entry to correct it completely.
Works on old PC, doesn't on new
I'm not sure what the problem is. The script functions properly on my old PC. Just middle clicking a gallery will mark it as visited. On my new PC it doesn't matter if I read through the entire gallery I'm still sitting at 0 galleries visited.