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

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

Since submitting on Codeforces or other OJs takes time when you need to locate the submit buttons and pasting your code and then finally hit submit, I've developed a userscript to do that in 1 shortcut.

Github repo: https://github.com/TomDevX/Fast-OJ-Submitter (check the README.md)

How to use

  • Ctrl/Cmd + S: submit clipboard (must be on problem page) — and must have the code in your clipboard
  • Alt/Opt + S: submit file (must be on problem page)

Currently support OJs: Codeforces, DMOJ forks, SPOJ, AtCoder, CSES, MarisaOJyou can still add OJ by yourself through the source code

Disclaimer: On firefox, if the userscript doesn't work or it shows a paste prompt/button. Go to about:config and change:

  • dom.events.asyncClipboard.readText = true
  • dom.events.testing.asyncClipboard = true

How to download

You need to download Tampermonkey or similiar tools to be able to use this script

There are 3 ways you can do:

  1. Go to source file and view it in raw mode. A Tampermonkey script installation request will be prompted
  2. Paste source file inside your tampermonkey
  3. Install from Greasy Fork

Please open an issue to the repo github if you have any problem or feature requests

Made by TomDev with <3


Special thanks to MikeMirzayanov and the Codeforces HQ for developing and maintaining this amazing platform!

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

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

wow