Suggestion: Put thread title in the HTML page title for discussion messages
-
Reason: I was looking for a particular thread in my browser history but could only see a list of "The Insider News - Codeproject" and "The Lounge - Codeproject" and the like. Being able to see the actual thread titles would have been very useful.
-
Reason: I was looking for a particular thread in my browser history but could only see a list of "The Insider News - Codeproject" and "The Lounge - Codeproject" and the like. Being able to see the actual thread titles would have been very useful.
If you navigate through the messages in a forum, the URL and title don't update. The messages have already been loaded, and are simply shown or hidden using Javascript. The site would have to use the history API[^] to make the URL and title update without loading a new page.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
If you navigate through the messages in a forum, the URL and title don't update. The messages have already been loaded, and are simply shown or hidden using Javascript. The site would have to use the history API[^] to make the URL and title update without loading a new page.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Richard Deeming wrote:
If you navigate through the messages in a forum, the URL and title don't update. The messages have already been loaded, and are simply shown or hidden using Javascript.
This is true only if you go to a thread listing page like this one, [^], and look through the threads listed therein. What I mean is this: If you click on the "View the X replies to this message" or "View the reply to this message" links then a page opens showing messages in the thread you clicked on. This is where each thread has a unique URL and could imo do with having the thread title added to the HTML page title so as to be able to tell them apart in the browser history (and in the browser title bar or tab, for that matter). For example, this thread (1) The Insider News[^] and this thread (2) The Insider News[^] both have the same page title and are indistinguishable in the browser history but are in fact distinct and different URLs and link to distinct and different threads. The primary difference in the URL is the "tid" parameter. Clearly the server does know which thread is which at the time it generates and serves these pages (otherwise it couldn't put the relevant thread contents, and only the relevant thread contents, in the page), so won't need the history API. To be clear, I'd like to see the page titles for the two threads above displayed as: (1) The Insider News - Google AI executive sees a world of trillions of devices untethered from human care[
-
If you navigate through the messages in a forum, the URL and title don't update. The messages have already been loaded, and are simply shown or hidden using Javascript. The site would have to use the history API[^] to make the URL and title update without loading a new page.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Nah, you just use
document.title = "This is a page title.";
We used to have it do that, but I think I removed it because it actually made it hard to work out which tab was the lounge and which was an article. Further, it needs to only change the title for dedicated forum pages, not when the forum is part of another item such as an article
cheers Chris Maunder