coderdhanraj's blog

By coderdhanraj, history, 16 months ago, In English

Hello Everyone!

Recently I was exploring Codeforces APIs and thought that there is a need for an extension that shows problem difficulty as well as all the contest problems links together (as usually it takes some time switching from status/submission/problem page to dashboard to select a desired problem).

So, well here it is!
With the help of this extension, one can go through any problem to any other problem easily (also can go to a problem from status/submission/hack pages to the desired problem).

You can try this extension.

Steps to follow (for the installation)

Right now I haven't deployed/uploaded it on either Chrome or Firefox but you can install it locally!
You just have to clone this repo or can download via zip and load/unpack the folder over the chrome/firefox extension (with developer mode on). (guide for chrome)

UPD: To use this without unpacking the extension just copy-paste this userscript in tampermonkey or a similar tool.

UPD2: Updated the verdict thing as well. You can enter your codeforces handle to make verdict color work!

UPD3: Updated userscript is here. (Thanks to normankr07)

UPD4: The extension is now live on Mozilla Add-ons. 😇

UPD5: Updated the show/hide rating thing (check the repo).

Updated Look

Any suggestion would be helpful!

Happy Coding :)

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

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

CoderDhanraj orz

»
16 months ago, # |
Rev. 3   Vote: I like it 0 Vote: I do not like it

tnx that is realy helpful ;D

now i dont need to open N tabs during the contest

orz coderdhanraj

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

Where to enter CF handle? I can't find it.

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

    To enter CF Handle click on the extension after unpacking it in chrome/firefox, After clicking on it a popup will appear like below.

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

Good, Now make it for Firefox.

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

where to paste in temper monkey?

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

    Click on tampermonkey extension icon click create new script paste it there and save it!

    However, you can unpack the extension to see the color of the verdict as well!

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

Just solved two problems that i faced in a go.

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

Can it support Microsoft Edge?

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

I updated the userscript one to make it not shown when at homepages and blogs. Show the color with your current logged in handle. The source is here

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

    Brilliant! I didn't think of getting the codeforces handle like this :)

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

please, upload it on the Chrome webstore quickly!!

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

    TBH I've not taken the Chrome developer console membership yet as it costs some money :(

    Maybe in future, I will buy it then I will surely upload it there :) till then you can try it locally by unpacking stuff

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

will this work in ongoing contest ?

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

Very nice! Maybe a good feature would be to add clist.by ratings when codeforces ones are not available.

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

orz

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

The userScript from 3rd update

it's not hiding the rating of unsolved problems

i hope it will be fixed or how to fix it

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

    I will add a click feature to show or hide the rating in the new update but a smaller good thing is that people usually want rating to be shown but not the other tags so this thing was covering that as well.

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

    If you want a quick fix try this, if you want to show all problem ratings again just change the : const ACshowrating = 1; to const ACshowrating = 0;

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

    I have added the click for that but I think it would be hard for a user script as we can't save anything in that, you will have to change things in the code to make that work, better you can unpack the newer version of the extension :)

    PS: Firefox add-on will also be updated, also I am working on getting the clist rating until codeforces provide the actual one.

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

      Actually sometimes it works , sometimes it doesn't
      UPD : working now , I'll tell as soon as the problem occurs again