Live data from Hacker News

Don't fuck with paste

github.com

41–50 of 397 posts

Re: Don't fuck with paste

#41
Love this

Copy and pasting is such an essential part of everyday computer usage

Also can relate a bit as a developer, recently been struggling trying to get scrolling paste capture on a remote terminal with ncurses (wide lines, long texts, utf8 characters, can all be tricky)

Re: Don't fuck with paste

#43
post #5

Right up there with hijacking Ctrl-F.

There's a lot of keyboard shortcuts that mean one thing in the browser but something totally different in another application. Now that it is common for many of these other applications to now be a web app, these keyboard short cuts are possible to start colliding.

Take GoogDocs as an example. Do you want the browser's find or the app's find if you hit ctrl-f in a Doc/Sheet/etc? The vast majority of the users want the app's. Reading a news site, most people would probably expect ctrl-f for the browser's search.

Just pointing out that hard rules will always have exceptions. Except for the TFA's point of copy/paste. Stop manipulating my clipboard with bullshit marketing/tracking bullshit!!!!!!!

Re: Don't fuck with paste

#44

Thanks for this! Also related, Who t.f. thought that * Ctrl-V should be "paste with format" * Meta-Shift-Whatever-Ctrl-V should be "paste without format" I've never EVER had the need to copy some text and paste it with a different font face, color and ffs background color ... Who is the genius UX expert that decided on this abhorrent behavior?

I guarantee it's the guy who invented rich text fields and he just big dicked the fledgling UX team and because Big Development is incredibly paternal these crappy UX patterns never go away.

Re: Don't fuck with paste

#45

> In order to provide the smoothest experience as possible, the extension needs to know when you change active tabs. In order for the extension to know about that event, it needs the tabs permission, which Chrome describes as "can read and change all your data on websites you visit." That description is very scary, and is certainly not what this extension is doing. Being an open-sourced project, you can always read a…

Does Chrome have a "Developer Tools" feature for extensions, so you can dive in to the code and network requests?

Re: Don't fuck with paste

#46
post #31

Earlier quoted context omitted.

Ctrl-G and F3 often work to bypass that ime

I honestly didn't know about Ctrl-G. You my have significantly changed my life!

isn't ctrl-g common for "find next" with shift-ctrl-g "find previous"? maybe i live too much in my IDE/text editors?

Re: Don't fuck with paste

#48
post #10

Earlier quoted context omitted.

seems like an unmaintained fork of the less provocative, https://github.com/jswanner/DontF-WithPaste

I mean it doesn’t really offend me but it would be difficult to say recommend it to my mom. I guess it’s just me.

If I'm in a situation where I need to recommend a browser extension to my parents to workaround UI dark patterns, I think we'd all be reassured by an extension name that makes it clear the author has the right attitude toward those dark patterns.

Let's not pretend there's anything polite about user-hostile UIs.

Re: Don't fuck with paste

#50
post #6

Used to be simple to workaround this with basic web APIs (el.value = 'whateverIwant'), until this newfangled web framework from Facebook broke the web.

This. One especially infuriating trend appears to be not even using the HTML input box at all, the JavaScript just intercepts the keydown event which then (deliberately?) triggers a slow calculation before eventually rendering a star in the text-field-that-actually-isn't, breaking even "auto type" solutions. So you sit there like an idiot every time you log in, with your password manager open and password unmasked, copying each character, laboriously, one-by-one. I can't fathom how this sort of thing gets by management, who are presumably told it increases security, but then apparently never actually try to use the end product.

Even worse is when the suggestion comes to use an app instead of the website, and then the app comes with its own dedicated keyboard that isn't your own phone's keyboard, because "security" and then they scramble the position of all the letters and numbers, making it even slower.

Post reply on HN