7 ms·
The example in the article doesn't use javascript, and doesn't hook Ctrl-C, all it uses is simple css. The problem here is not related to the browsers at all,
by chr1 10y ago
The example in the article doesn't use javascript, and doesn't hook Ctrl-C, all it uses is simple css.
The problem here is not related to the browsers at all, the problem is on the terminal side, which should not immediately run and random text that was pasted, but should allow editing the pasted text before running.
- chaosfox 10y agoI am not sure the browser is free of blame here, getting invisible characters copied together with the text I selected goes completely against my expectations.
- brod 10y agothis could be considered a handy feature in a different scenario, the browser shouldn't be responsible for checking if the text you copied was visible. Just get a half decent terminal, many have precautions in place for copy/paste.