Submit to Tab with Ctrl + Click / Ctrl + Enter

Sets form's target to `_blank` when submitted while Control key is being pressed.

ของเมื่อวันที่ 01-03-2024 ดู เวอร์ชันล่าสุด

ผู้เขียน
myf
คะแนน
0 0 0
เวอร์ชัน
2.0.1
สร้างเมื่อ
18-05-2015
อัปเดตเมื่อ
01-03-2024
Size
1008 ไบต์
สัญญาอนุญาต
CC0
ปรับใช้กับ
ไซต์ทั้งหมด

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.