Greasy Fork

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

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

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.