3 ms·
Wouldn't that cause security issues which should be blocked by browsers? I.e. on some malicious website you could select some innocent looking text, but under
by amelius 6y ago
Wouldn't that cause security issues which should be blocked by browsers?
I.e. on some malicious website you could select some innocent looking text, but under the covers it selects some evil bash command.
- remram 6y agoThis is already possible with tiny or invisible text, I don't think browsers are trying to protect from that. The protections that exist are to prevent sites from reading your clipboard or replacing it without you clicking on anything, other than that the site already has control over what goes in it.