### pritishn's blog

By pritishn, 14 months ago,

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.

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.com/blog/entry/66646

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

• +162

 » 14 months ago, # |   +3 when i try to load unpacked it is giving failed to load extension. Error: Manifest file is missing or unreadable Could not load manifest.
•  » » 14 months ago, # ^ |   +1 Have u extracted it ?
•  » » 14 months ago, # ^ |   +4 Extract the contents of the zip file u get from Github and select the Submitify Folder please.
•  » » 14 months ago, # ^ |   +3 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.
 » 14 months ago, # |   -11 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
•  » » 14 months ago, # ^ | ← Rev. 2 →   +15 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.
•  » » » 14 months ago, # ^ |   +6 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.
•  » » 14 months ago, # ^ |   +3 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?
•  » » » 14 months ago, # ^ |   0 I don't think it's needed because you can filter the problems according to ratings anyway.
 » 14 months ago, # |   +3 Man, this is so good! Keep it up! I love this thing!
 » 14 months ago, # | ← Rev. 2 →   -8 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
•  » » 14 months ago, # ^ |   +24 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. ;)
•  » » 14 months ago, # ^ |   +8 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.
 » 14 months ago, # |   0 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!
•  » » 14 months ago, # ^ |   0 Oh ok, I'll see what I can do about that. I'll reply here once I finish making the changes.
•  » » » 14 months ago, # ^ |   0 Thanks!
•  » » » » 14 months ago, # ^ |   0 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.
•  » » » » » 14 months ago, # ^ | ← Rev. 2 →   0 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...
 » 14 months ago, # |   0 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 :)
•  » » 14 months ago, # ^ | ← Rev. 2 →   +3 This is what you are looking for i guess.
•  » » » 14 months ago, # ^ |   +1 Oh wow, I didn't know it existed... Thanks.. Time to take down the blog. XD
•  » » » 14 months ago, # ^ |   0 It's really useful! Thx a lot!
•  » » 14 months ago, # ^ |   0 Nevertheless, I have added this feature too. Thanks for the suggestion.
 » 14 months ago, # |   +1 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.
•  » » 14 months ago, # ^ |   0 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.
 » 14 months ago, # |   0 Can you please add an option of choosing the file as well ? I know it does not makes much sense though.
 » 14 months ago, # | ← Rev. 2 →   +1 .
 » 11 months ago, # | ← Rev. 2 →   +24 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.com/edu/*/problem/*. Example
•  » » 11 months ago, # ^ |   +5 Ok I'll update.
•  » » 11 months ago, # ^ |   +5 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 :).
 » 11 months ago, # |   +3 does it work with Microsoft edge?
•  » » 11 months ago, # ^ |   0 Nope
•  » » 11 months ago, # ^ |   +5 I think it does work (at least for Edge Chromium). Just follow the installation directions for Chrome, but go to edge://extensions/ rather than chrome://extensions/
•  » » » 11 months ago, # ^ |   +5 Thanks!
 » 6 weeks ago, # | ← Rev. 2 →   -25 Can something like this be made for cses/usaco? Thanks, this extension is really useful.