trouble shooting - read/not read in a forum

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
yan242
Newbie
Newbie
Posts: 4
Joined: 2021-05-09, 16:10

trouble shooting - read/not read in a forum

Unread post by yan242 » 2025-04-25, 16:26

Hi, a trouble shooting here : can't see when a post on that forum is read or not read when i'm using PM or even Firefox.
When you've read a post on that forum, a little pic must appear in the left column. Nothing appears now since 3 weeks ago.
Yan242
You do not have the required permissions to view the files attached to this post.

User avatar
therube
Board Warrior
Board Warrior
Posts: 1712
Joined: 2018-06-08, 17:02

Re: trouble shooting - read/not read in a forum

Unread post by therube » 2025-04-28, 16:23

URL ? (Just note it as NSFW.)

Are you logged in?

Are you blocking, ad blocker or otherwise?

Similar forum, but it (always) displays "envelope" icons to the left of the thread title.
https:// vipergirls.to/forums/303-Artistic-Photo-Sets/page18?prefixid=Met-Art_com&sort=title&order=asc

User avatar
River Moon
Moongazer
Moongazer
Posts: 9
Joined: 2023-09-04, 10:09
Location: en-GB

Re: trouble shooting - read/not read in a forum

Unread post by River Moon » 2025-04-29, 07:57

I see this sort of thing happen on many forums. Some forums add an identifier to the URL links. This forum does the same...

https://forum.palemoon.org/viewtopic.php?f=3&t=32293&sid=93e4c3b6272802e1497cd3f7195ccde4

The below code snippet removes the 'sid' parameter and restores the URL link to something that never changes.

Code: Select all

(function()
{
	var eli = document.getElementsByTagName("a");
	for(var i = 0, li = eli.length; i < li; i++)
	{
		if (eli[i].href)
		{
			var href = new URL(eli[i].href);
			href.searchParams.delete('sid');
			eli[i].href = href;
		}
	}
})();
...different forums use a different parameter name!

I think the, in this case, sid parameter is some kind of tracking id. It gets preserved in the site's cookie and reused on subsequent visits. If, like me, you delete cookies on browser exit this causes a new id to be constantly generated which breaks the links visited relationship.

Cookie
Name: FreeTheLizard2_sid
Content: 93e4c3b6272802e1497cd3f7195ccde4
Domain: .forum.palemoon.org

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37499
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: trouble shooting - read/not read in a forum

Unread post by Moonchild » 2025-04-29, 09:20

sid is the "session ID". A unique identifier for your current browsing session. This is used by the forum software to keep track of unique visits.

Depending on how fora are configured, the "read/unread" status can be tracked for guests or not (logged in or not). tracking read state for all posts on the forum for guests is fairly computationally expensive so it is usually recommended that on busy fora or fora with large numbers of posts, this is disabled. So, it's very possible that this change a few weeks ago was on purpose by the forum admins, and has nothing to do with the browser in that case. As pointed out as well: if you prevent a browser from storing the session ID in a cookie, it will also not know to tie your visit to a previous session, and thus not know the read/unread state.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite