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

Автор pritishn, 4 года назад, По-английски

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

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

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

»
4 года назад, # |
  Проголосовать: нравится +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.

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

    Have u extracted it ?

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

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

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +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.

»
4 года назад, # |
  Проголосовать: нравится -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

  • »
    »
    4 года назад, # ^ |
    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.

    • »
      »
      »
      4 года назад, # ^ |
        Проголосовать: нравится +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.

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +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?

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

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

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

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

»
4 года назад, # |
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

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +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. ;)

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +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.

»
4 года назад, # |
  Проголосовать: нравится 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!

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

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

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

      Thanks!

      • »
        »
        »
        »
        4 года назад, # ^ |
          Проголосовать: нравится 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.

        • »
          »
          »
          »
          »
          4 года назад, # ^ |
          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...

»
4 года назад, # |
  Проголосовать: нравится 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 :)

»
4 года назад, # |
  Проголосовать: нравится +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.

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится 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.

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

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

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

.

»
4 года назад, # |
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

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

    Ok I'll update.

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +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 :).

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

does it work with Microsoft edge?

»
3 года назад, # |
Rev. 2   Проголосовать: нравится -25 Проголосовать: не нравится

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