pritishn's blog

By pritishn, 4 years ago, In English

Hello everyone, This extension will modify the submit through file block in the problem page so that we can paste our code there and submit.

Of course , if you liked submitting through file then it's useless for you. It is made for those who have a habit of pasting code in the separate submit page.

Links to the extension :

It also redirects into a new tab and you don't have to open a new page every time you submit.
Thanks for reading and hope you like it.

UPD : I added the feature that now selects the code written in the text-area on clicking the submit button, So now it's easier to delete the previously written code.

UPD : I found link to another such tool : https://codeforces.me/blog/entry/66646

This extension is a much simplified version of the tool mentioned in the above blog.

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

»
4 years ago, # |
  Vote: I like it +3 Vote: I do not like it

when i try to load unpacked it is giving failed to load extension. Error: Manifest file is missing or unreadable Could not load manifest.

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

    Have u extracted it ?

  • »
    »
    4 years ago, # ^ |
      Vote: I like it +4 Vote: I do not like it

    Extract the contents of the zip file u get from Github and select the Submitify Folder please.

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

    I had the same problem, but when I clicked into the file name, for me its "Subtimify-Chrome-Master" I clicked on "Subtimify" and then pressed "Select Folder" It worked for me.

»
4 years ago, # |
  Vote: I like it -11 Vote: I do not like it

because we all know Codeforces isn't really serious about all the feature requests from its users XD

disagree.

Moreover can you tell a single advantage of this feature??? You will still have to compile it in your system i.e. you will have a saved file of your code then simply submit that file instead of crying that codeforces don't take us seriously

  • »
    »
    4 years ago, # ^ |
    Rev. 2   Vote: I like it +15 Vote: I do not like it
    Moreover can you tell a single advantage of this feature???

    Suppose I have slow internet connection..

    Case 1: I submit from the problem page using file, the page reloads into the status page. Will take time to get back to problem page if for some reason I want to read the problem again.

    Case 2: I submit from Submit page, again I have to open that Submit page.

    With this extension it may not make much of a difference. But during some contests the load on codeforces is really heavy and just coming back to the problem page may take 10+ secs.

    I know the use cases are too small, but still Codeforces not having this feature had bothered me for quite a long time.

    • »
      »
      »
      4 years ago, # ^ |
        Vote: I like it +6 Vote: I do not like it

      For Case 1, you can use Ctrl + Click to submit your solution, status page will open in new tab. But still, this extension would be useful for many.

  • »
    »
    4 years ago, # ^ |
      Vote: I like it +3 Vote: I do not like it
    disagree.

    In the problemset page, filter by problem index(Div2A,Div1A) is yet another feature that we don't have as of yet. I mean how hard will it be to implement something like that?

    • »
      »
      »
      4 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I don't think it's needed because you can filter the problems according to ratings anyway.

»
4 years ago, # |
  Vote: I like it +3 Vote: I do not like it

Man, this is so good! Keep it up! I love this thing!

»
4 years ago, # |
Rev. 2   Vote: I like it -8 Vote: I do not like it

Thanks! Very useful feature, but it seems like a cheating a bit: opening of new tab gets some time, also we can open it in advance, but easier do not open this tab ever, right?) Not everyone has this extension during rounds, so not all participants in equal conditions

  • »
    »
    4 years ago, # ^ |
      Vote: I like it +24 Vote: I do not like it

    Well, no one is stopping anyone from using this. XD If anyone wants to use it, he/she is free to do so. A tool available to all isn't a cheating tool. ;)

  • »
    »
    4 years ago, # ^ |
      Vote: I like it +8 Vote: I do not like it

    if someone writes code in notepad instead of using modern IDE then he will not be as fast as others. And this doesn't mean people having modern IDEs are cheaters.

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I have a question though, whenever I resubmit a solution, I have to manually highlight my past code and paste my new code in. Can you fix it? I know that in the "Submit" tab in codeforces, after I see a WA or something, I press the back arrow, and then I can resubmit my code without having to highlight the entire thing then pasting it back in there. Thanks!

  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Oh ok, I'll see what I can do about that. I'll reply here once I finish making the changes.

    • »
      »
      »
      4 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Thanks!

      • »
        »
        »
        »
        4 years ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        Ok ,I have added that feature, when after submitting you try to paste another code and you click on the textbox ,the pre-written text will be erased automatically.

        I couldn't get it to behave exactly like the Submit-page because the page has to be reloaded for that. To stop reloading, I added that click-erase feature.

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

          After submitting when I click on the textbox, the text doesn't disappear. Am I doing something wrong? I have to reload the page in order for the text to disappear...

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

It would be better if the field where we want to paste the code is focused when we load the problem page. This way we don't have to click in the box to paste the code. Just "ctrl+V" then "tab" and then "enter" will do the job :)

  • »
    »
    4 years ago, # ^ |
    Rev. 2   Vote: I like it +3 Vote: I do not like it

    This is what you are looking for i guess.

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

      Oh wow, I didn't know it existed... Thanks.. Time to take down the blog. XD

    • »
      »
      »
      4 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      It's really useful! Thx a lot!

  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Nevertheless, I have added this feature too. Thanks for the suggestion.

»
4 years ago, # |
  Vote: I like it +1 Vote: I do not like it

It seems that for Google Chrome you have to use something like Tampermonkey and paste the source code there. Would it be too troublesome to create a chrome extension like Firefox's? That'd be really helpful, and would bring more users to it I think.

  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I couldn't get it to work with Tampermonkey, For some reason, it doesn't even submit the pasted-code. And I couldn't find any fix for it too.

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Can you please add an option of choosing the file as well ? I know it does not makes much sense though.

»
4 years ago, # |
Rev. 2   Vote: I like it +1 Vote: I do not like it

.

»
4 years ago, # |
Rev. 2   Vote: I like it +24 Vote: I do not like it

Can you please add support for edu problems as well, Thanks in advance.

P.S. — The links to the problems are of the form https://codeforces.me/edu/*/problem/*. Example

  • »
    »
    4 years ago, # ^ |
      Vote: I like it +5 Vote: I do not like it

    Ok I'll update.

  • »
    »
    4 years ago, # ^ |
      Vote: I like it +5 Vote: I do not like it

    Update — pritishn has updated the repository with changes I suggested, to get the updated extension, I had to reinstall the tool completely using the instructions in the blog, till now i got this as the possible workaround as it was unpacked extension. So all those who were also waiting for it to be updated can follow atleast this and if someone has a better solution please suggest it here :).

»
4 years ago, # |
  Vote: I like it +3 Vote: I do not like it

does it work with Microsoft edge?

»
3 years ago, # |
Rev. 2   Vote: I like it -25 Vote: I do not like it

Can something like this be made for cses/usaco? Thanks, this extension is really useful.