Stupid tip for sites that break paste: You can often use the, ordinarily very annoying, legacy feature of being able to highlight and drag text to paste it into a text field that has pasting blocked. URL bar makes a handy temp location to paste the text to and drag from.
Conversation
Notices
-
Embed this notice
Rich Felker (dalias@hachyderm.io)'s status on Tuesday, 11-Mar-2025 21:34:38 JST Rich Felker
- Haelwenn /элвэн/ :triskell: likes this.
-
Embed this notice
Alex Savage (optimant@hachyderm.io)'s status on Tuesday, 11-Mar-2025 21:41:51 JST Alex Savage
@dalias I’m old enough to remember drag and drop being the exciting new paradigm and not very annoying and legacy :apple_old_logo:
-
Embed this notice
Rich Felker (dalias@hachyderm.io)'s status on Tuesday, 11-Mar-2025 21:56:33 JST Rich Felker
@optimant Oh I am too. It was always annoying af when you tried to fix a mistaken highlight that missed a character/item and instead ended up jumbling up your stuff. I hated it from day 1.
-
Embed this notice
Alex Savage (optimant@hachyderm.io)'s status on Tuesday, 11-Mar-2025 21:57:31 JST Alex Savage
@dalias I_was_there__Gandalf.txt
Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
RealGene ☣️ (realgene@hachyderm.io)'s status on Tuesday, 11-Mar-2025 22:07:31 JST RealGene ☣️
@dalias
Someone here mentioned this, and it works well with Firefox and LibreWolf:https://lifehacker.com/enable-copy-paste-in-web-pages-that-disallow-it-with-a-1601848114
-
Embed this notice
Rich Felker (dalias@hachyderm.io)'s status on Tuesday, 11-Mar-2025 22:15:32 JST Rich Felker
@RealGene Oddly that's actually the source of my problem. I disable clipboard API because it lets sites inject malicious content or steal clipboard contents not intended for them. But this breaks paste on a lot of sites with custom edit widgets that intercept ^V/Paste command and try to read from the clipboard themselves to insert the contents rather than letting the browser do it.
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 11-Mar-2025 22:18:46 JST Haelwenn /элвэн/ :triskell:
@dalias @RealGene I guess a simple way around that would be for the browser to expose a text entry buffer, quite like the text-search entry or location bar.
Interestingly I haven't hit that problem yet and clipboard access is disabled here too. -
Embed this notice
Rich Felker (dalias@hachyderm.io)'s status on Tuesday, 11-Mar-2025 22:21:50 JST Rich Felker
@lanodan @RealGene I hit it in Discord. Ideally the browser would treat paste like an input-method, disallow hooking ^V, and process ^V as if the whole contents had been generated via an input method and submitted at the end (comparable to whole phrase in pinyin).
Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 11-Mar-2025 22:24:42 JST Haelwenn /элвэн/ :triskell:
@dalias @RealGene Sadly I know the input method wouldn't always works, there's some annoying sites where I need actual copy-paste for non-ASCII because for some reason it uses keyboard input like if it were a video game or WebVNC session.