eoger / tabcenter-redux

Vertical Tabs extension for Firefox
Mozilla Public License 2.0
381 stars 67 forks source link

No class for 'no-read-yet' tab #283

Closed bostiq closed 6 years ago

bostiq commented 6 years ago

Hi, at the moment is not possible to style loaded tabs that haven't been read yet. All it needs is a an unread class in the html of the unread tab. Do you think you can implement it?

I believe it's a nice feature especially in ajax sites where the content can update. that way you can style the tab (eg: red border ) and attract attention on the new content.

Thanks! and keep up with the good work!

dos1 commented 6 years ago

Something like

[notselectedsinceload="true"] {
  font-weight: bold;
}

? :) Not sure how it relates to dynamic content updates though. AFAIR the true "unread" status that Firefox uses to display blue dot over pinned tabs isn't available for WebExtensions yet.

eoger commented 6 years ago

We should try to do this in conjuction with https://github.com/eoger/tabcenter-redux/issues/268

eoger commented 6 years ago

I think this is good enough at the moment, and I see @Keith94 has added an example to the wiki (thanks!). Let's close this.