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.

Author
myf
Daily installs
0
Total installs
99
Ratings
3 0 0
Version
2.2.0
Created
2015-05-18
Updated
2024-03-01
License
CC0
Applies to
All sites

Useful for "saving" form state in preceding tab.

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

Middle mouse button click on submit buttons should work as well, just for the basic structure and with many unhandled border cases. And probably with different focus management compared to Ctrl + Enter.

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