Submit to Tab on Ctrl + Click

Sets form's target to `_blank` when submitted via Ctrl + Left Mouse Button or Ctrl + Enter.

目前為 2016-02-09 提交的版本,檢視 最新版本

作者
myf
評價
0 0 0
版本
1.0.2
建立日期
2015-05-18
更新日期
2016-02-09
尺寸
1.5 KB
授權條款
MIT
腳本執行於
所有網站

Useful for "saving" form state in preceding tab.

Ctrl+enter will work alike where plain enter would submit form (ie NOT on textareas).

Sadly, using middle mouse button for the same purpose does not work that well, because it would require invoking "artificial" form.submit(), what triggers popup blocker because form is "artificially dirty", ie got recently changed.

For reference, request for similar functionality in Firefox from 1999.