Tab Description
TappedOut forum
Posted on Sept. 4, 2015, 12:52 a.m. by enpc
I've noticed that some pages on T/O have specific Tab Descriptions (for you web browser) however some don't.
An idea to unify this across the site might be to have the tab description be common across all pages. For example:
T/O - MTG Deckbuilder and Community (for the home Page)
T/O - enpc (for a particular user)
T/O - Forums
Then on top of this, you could extend the functionality of it so that it could show notifications in the browser tab, such as:
T/O [2] - Forums
which means you're currently viewing the Forums page but you've also got 2 new notifications. This would be really helpful as a user can start loading (or refreshing a page) and then switch to a different tab but still be notified.
filledelanuit says... #4
I don't know how your backed end works but here is a javascript version:
window.onload=document.title="T/O[" + document.getElementById("").innerHTML + "] - MTG Deckbuilder and Community (for the home Page)"
Obviously it would work better if this was done on the backend.
Having said that I don't think it's worth it because TO doesn't use ajax so notifications only when you load the page. You could have the page make API requests or something like that but that sound like too much work for one little thing that doesn't really matter.
filledelanuit says... #2
I think it would be a nice idea but Yeago is busy so site updates tend to take a while to make. There is an easy javascript solution but document.title doesn't work well with SEO so it would have to be a backend solution with whatever TO is written in (python or php would be my guess).
September 4, 2015 9:39 a.m.