In Reply to: RE: Mark as Read not working? posted by Rod M on February 25, 2025 at 17:43:34:
No luck, I see there's a function confirmRead(ReadForum,ReadForum)
that is meant to change the window location after running something through the server, but the page is not reloading for me.
I poked a bit at the JS (done quite a bit of it a while back) but there's no way to dynamically set the a:visited tag for security/privacy reasons.
Writing some JS to change the color is doable, but it wont persists next time page is loaded.
Guessing the cgi/markread.mpl calls some function that writes to local storage or cookie and applies a class when page loads.
KP
This post is made possible by the generous support of people like you and our sponsors:
Follow Ups
- RE: Mark as Read not working? - The Killer Piglet 07:19:36 02/26/25 (10)
- RE: Mark as Read not working? - Rod M 10:12:46 02/26/25 (9)
- RE: Mark as Read not working? - The Killer Piglet 13:06:47 02/26/25 (8)
- RE: Mark as Read not working? - Rod M 19:28:18 02/26/25 (6)
- RE: Mark as Read not working? - The Killer Piglet 19:50:14 02/26/25 (5)
- OK, these seems happier - The Killer Piglet 10:17:01 02/27/25 (4)
- RE: OK, these seems happier - Rod M 12:55:25 02/27/25 (3)
- to clarify, pasting the code into console won't do anything directly. - The Killer Piglet 06:10:26 02/28/25 (0)
- I see the old function is till aa.js - The Killer Piglet 13:48:41 02/27/25 (0)
- RE: OK, these seems happier - The Killer Piglet 13:39:37 02/27/25 (0)
- you may want to get rid of the 'must me logged in' check - The Killer Piglet 13:09:05 02/26/25 (0)