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的反馈

评价:好评 - 脚本运行良好

§
发表于:2015-06-08
编辑于:2015-06-08

Support Ctrl + Enter?

I am finding some extensions like this. I have tried TabSubmit but it dosn't support keyboard either.

myf作者
§
发表于:2015-06-09
编辑于:2015-06-09

I was planning to try exactly this, so thanks for headsup :]
Tried some naive approach and it seems to work well (in Firefox): it should work on text inputs and buttons, it won't work in textareas and in cases when page scripts prevents submitting via enter (not so uncommon).

Try updated version and let me know if it works well enough for you.

Update: seems not to work in Chrome, gotta look at it later.

§
发表于:2015-06-09

Nice! Seems that it works on most of the sites.

It doesn't work on Google but I can use search bar so it should be fine :).

myf作者
§
发表于:2015-06-29

Still no progress with Chrome, but just one note ad searchbar / locationbar search,
in case you missed it:
There is "open search results (or URL) from search (or location) bar in a new tab" in most browsers invoked with alt+enter. Not widely known, but indeed useful.

It is a bit confusing considering that *in page* alt+enter invokes download, and ctrl+enter opens link into a new tab.

发表回复

登录(不可用)以发表回复。

QingJ © 2025

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