ghosty's blog

By ghosty, 15 months ago, In English

Hi everyone!

Given the increase in blogs such as this one, I wanted to quickly and easily know what the most liked comment was. But, I did not want to scroll through every comment to find that out. So, I created Codeforces Better Comments to simplify this!

Just add the extension and you can sort comments by rating and even sort subcomments. Besides sorting comments, this extension also allows you to collapse subcomments and message the comment author in just 1 click. Also, you can customize what buttons you want!

UPD 1: New features were added to the extension, notably the ability to filter out comments by low-rated users and the ability to filter out low-rated comments!

UPD 2: Made the code public here !

Get uBlock Origin for Chromium

Here are a few screenshots:

If there are any other features you want me to implement, please let me know! Also, please let me know your thoughts in the comments. Hope this is useful, Thanks!

Special thanks to oviyan_gandhi, crap_the_coder, and BhavayGoyal for testing this extension!

  • Vote: I like it
  • +70
  • Vote: I do not like it

| Write comment?
»
15 months ago, # |
  Vote: I like it +1 Vote: I do not like it

Good Job. Thanks for this awesome extension :)

»
15 months ago, # |
  Vote: I like it +25 Vote: I do not like it

Feature suggestion : hide comments completely based on upvotes/rating

  • »
    »
    15 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Working on it!

    • »
      »
      »
      15 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Also: it would be nice to hide comments completely based on rating (upper bound) as well!

»
15 months ago, # |
  Vote: I like it +1 Vote: I do not like it

Damn nice. A very useful extension.

»
15 months ago, # |
  Vote: I like it +1 Vote: I do not like it

Nice extension bro :)

»
15 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Very cool!

»
15 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Very useful extension, thanks!

»
13 months ago, # |
  Vote: I like it +1 Vote: I do not like it

Ooo I just saw that you can now toggle whether to show the "Message Comment Author" button, very nice!

  • »
    »
    13 months ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    I know right, this extension is just so cool in general!!

»
13 months ago, # |
  Vote: I like it +1 Vote: I do not like it

Cool Extension bro!

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

What is global and local comment sort?

  • »
    »
    11 months ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    Global comment sort sorts the top level of comments and the button for that is at the start of the comment section next to the "Write comment?" button. Local comment sort is the sort for each subcomment.

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Thanks! Do you have a version of this extension for Firefox/Firefox-based browsers?

  • »
    »
    11 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Not right now sorry, but I will have a version for Firefox in a week or so. I'll update you when I publish it!

»
11 months ago, # |
Rev. 2   Vote: I like it +16 Vote: I do not like it

Very good extension, thank you!

I would like to get help on a few (design?) misses :

  1. Headquarters get filtered out if we put a rating threshold to see comments

  2. When a rating threshold of X is put, Imagine a case where a person with rating < x comments and a person with rating >= x replies to that comment -> It should be visible in my opinion

  3. Same argument of Point 2 is valid for negative votes threshold as well

  • »
    »
    10 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Hey, sorry for the late reply. I agree with all these points and I will work to fix them as soon as possible. I am also open to pull requests if you or anyone else wants to contribute as the code is open source. Thanks!

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

I would like to have an option to fold comments by default. And a version that is compatible with Firefox (or a simple tampermonkey script). Nice extension by the way!