Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Блог пользователя ghosty

Автор ghosty, 11 месяцев назад, По-английски

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!

  • Проголосовать: нравится
  • +70
  • Проголосовать: не нравится

»
11 месяцев назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Good Job. Thanks for this awesome extension :)

»
11 месяцев назад, # |
  Проголосовать: нравится +25 Проголосовать: не нравится

Feature suggestion : hide comments completely based on upvotes/rating

»
11 месяцев назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Damn nice. A very useful extension.

»
11 месяцев назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Nice extension bro :)

»
11 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Very cool!

»
11 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

nice bro

»
11 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Very useful extension, thanks!

»
9 месяцев назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

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

»
9 месяцев назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Cool Extension bro!

»
7 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

What is global and local comment sort?

  • »
    »
    7 месяцев назад, # ^ |
      Проголосовать: нравится +1 Проголосовать: не нравится

    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.

»
7 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

  • »
    »
    7 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    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!

»
6 месяцев назад, # |
Rev. 2   Проголосовать: нравится +16 Проголосовать: не нравится

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

  • »
    »
    6 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    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!

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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!