LeetCode - Bring back Submit Code shortcut (Ctrl/Cmd + Enter)

See: https://leetcode.com/discuss/general-discussion/136588/Is-there-any-keyboard-shortcut-to-run-code-and-submit-solution/346347

2021-03-30 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ئاپتورى
Crystal-RainSlide
باھا نومۇرى
0 0 0
نەشرى
1.0
قۇرۇلغان ۋاقتى
2021-03-30
يېڭىلانغان ۋاقتى
2021-03-30
Size
4.7 KB
ئىجازەتنامىسى
يوق
قوللايدىغىنى

leetcode.com canceled the shortcut of submit code (Ctrl/Cmd + Enter) at September 2019. This script add it back.

Test page: Two Sum - LeetCode

This script is written without a LeetCode account. If you ncounter any problem after login, please try to solve it yourself if you can, or find the source of the problem, so I can maintain it without signing up.


Stop leetcode.com redirecting to leetcode-cn.com:

||leetcode-cn.com^$domain=leetcode.com

From Is there any keyboard shortcut to run code and submit solution? - LeetCode Discuss:

rainierClimber September 19, 2019 5:55 AM
I am not able to use CMD+ENTER anymore to submit. This is annoying. Any one else?

rainierClimber September 19, 2019 5:57 AM
@1337c0d3r Is this done intentionally?

1337c0d3r September 19, 2019 3:28 PM
Yes, this is done intentionally, as we believe submit solution is a heavy action, and user should only submit when they’re sure their program works.