Use the paste hack for middle clicks too.
Use xsel to fetch the primary X selection on shift-insert.

In chromium, using shift-insert on a text input does not paste the primary
selection, but the same contents as for ctrl-v.
Scroll to the bottom when typing in the terminal.

This is the same behavior as in many other terminal emulators.