Submit to Tab with Ctrl + Click / Ctrl + Enter / Middle click

Sets form's target to `_blank` when submitted while Control key is being pressed. Allow submit with middle mouse button.

< 脚本 Submit to Tab with Ctrl + Click / Ctrl + Enter / Middle click 的反馈

提问 / 留言

§
发布于:2018-05-17

Ctrl + Enter doesn't work on Chrome

  1. event.keyCode is 10 on Windows Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=79407
  2. Ctrl + Enter wouldn't submit the form. I think it could be fixed by calling form.submit() in the onpress handler.

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址