Greasy Fork is available in English.

LeetCode - 加回提交代码快捷键(Ctrl/Cmd + Enter)

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

作者
Crystal-RainSlide
日安装量
0
总安装量
51
评分
0 0 0
版本
1.0
创建于
2021-03-30
更新于
2021-03-30
许可证
暂无
适用于

leetcode.com 于 2019 年 9 月取消了提交代码的快捷键(Ctrl/Cmd + Enter)。 此脚本用于恢复此快捷键。

测试页面:Two Sum - LeetCode

本脚本是在没有账号的情况下编写的,如登录后遇到问题, 请有能力者尽量尝试代我解决,或者确定问题原因, 以便我在不登录的情况下继续维护此脚本。


阻止 leetcode.com 跳转至 leetcode-cn.com 的广告屏蔽规则:

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

来自 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.