Start a new topic

Descriptive classnames for userscripters

While making userscripts or userstyles for cohost, it would be very helpful if there were some static classnames for some elements in the site's UI. Almost every element in the site is only addressable with their style classes, which are subject to change and make maintaining scripts/styles difficult.

For example, just having a handful of broad classes like .profile-bio, .post-avatar, .post-body, .post-reply. Currently the way posts are constructed it is a little unruly to select a reblogged-reply to a post, since the original post body and the replies are all in unlabelled divs.

2 people like this idea
Login or Signup to post a comment