3

StackExchange hide sorting for a single answer

A userscript that removes the sorting combobox in questions when there is only one answer available.

Before:

Before: with one answer to a question, the sorting dropdown is shown

After:

After: with one answer to a question, the sorting dropdown is not shown

For users who prefer a cleaner UI when the sorting technically does not make a difference

Remarks

Deleted answers are not distinguished right now. If a user can see deleted answers, then the total count is taken. Deleted answers are always on the bottom, so for example, with 1 deleted 1 visible answers the total is two, which means the userscript will show the sorting menu but it will still not make sense to sort them.

Installation

Install the userscript with: direct link

See the code on GitHub

0

You must log in to answer this question.

Browse other questions tagged .