mrinmoy_2003's blog

By mrinmoy_2003, history, 9 months ago, In English

What i wanna do?

Copy code from my editor, go to 'SUBMIT' tab, paste it, click Submit button.

Whats the problem?

I don't wanna use my mouse or my touchpad to do this. I can go upto pasting the source code by pressing 'Tab' (It goes to the next interact-able item on a webpage), but once there 'Tab' just adds space in my code, it doesn't select the 'Submit' button. I have to use my mouse for that.

Solutions?

I was wondering if its possible to add a shortcut to press the submit button via a custom made extension. Is it? Or in any other way?

Why I wanna do it?

Because it would make me feel cooler.

Relevant Info maybe:

I'm running Ubuntu on a lenovo laptop. I use brave and firefox.

  • Vote: I like it
  • 0
  • Vote: I do not like it

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

I use this script. It adds the submit form at the bottom of the problem page.

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

    do you have a tutorial video? I downloaded it but dont know how to make it work

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

      You need the tampermonkey browser extension. Install it from chrome or firefox store, then you click here (do not download).

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

it you use firefox you can directly submit your code from the cph (competitive programming helper) extension within the vscode