Live data from Hacker News

Don't fuck with paste

github.com

81–90 of 397 posts

Re: Don't fuck with paste

#81

Earlier quoted context omitted.

why is all of the sudden ctrl-s wrong by the browser?? you make no sense here. you've never needed to save a web page? i guess i'm showing my age, while i don't use it daily, it has been a valuable feature for many reasons before. Edit: >Then the vast majority of users are wrong. I strongly disagree, and people unwilling to be flexible ruins the experience as those people tend to be the minority

You’re absolutely correct though, the parent comment seems to think there are absolute right and wrong answers for UI. I think that’s just not true, a good UI is one that works for your customers.

They're trolling.

Re: Don't fuck with paste

#82
100% in agreement with regaining paste. Another workaround is to create a macro that will "type" the clipboard contents, simulating typing it out by hand.

On macOS you can do this via Keyboard Maestro [1]. Create a macro with the action "Insert text by typing" and for the text to insert use `%PastClipboard%0%`.

Yes, very niche, but I'm sure some HN users already use Keyboard Maestro.

[1]: https://www.keyboardmaestro.com/main/

Re: Don't fuck with paste

#83

This was one of those things that frustrated me so much that we ended building this natively into Orion browser (Tools menu -> Allow Copy & Paste). [1] One of the joys of building your own browser. [1] https://kagi.com/orion

How would you rate the security posture of Orion compared to Chrome?

Along what axis?

Re: Don't fuck with paste

#84

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 don’t think it’s as simple as this: it’s annoying in the context of text editing, but when you’re dealing with spreadsheets or file managers or copying from an spreadsheet into a document or an image into a document, the rich object behavior makes a lot of sense.

I vaguely remember that really old versions of windows had a “live paste” feature where if you copied a range from a spreadsheet and pasted into a word document, the pasted object would update when you changed the spreadsheet

Re: Don't fuck with paste

#86
post #22

For Safari you can get Don't Fuck with Paste (and lots of other Don't Fuck with X options) with the Stop The Madness extension. https://underpassapp.com/StopTheMadness/

I was going to mention this but glad I found it. Great extension for Safari. One of the greatest things about this is you can change the options per website. So if you use something like Notion you can use their shortcuts just for their website and the default browser ones for everything else.

Re: Don't fuck with paste

#88

You shouldn't need to trust an addon for this, it's something you should be able to set in the browser. In firefox you can toggle dom.event.clipboardevents.enabled

IME this breaks paste functionality in some web apps (eg. certain terminal emulators or text editors)

Re: Don't fuck with paste

#89

Earlier quoted context omitted.

Bookmarklets are seriously undervalued. This is a simple and more importantly readable fix for the issue.

i don't think they're undervalued compared to userscripts (with a dedicated extension for managing them).

Wonder if home-manager does user scripts.

Re: Don't fuck with paste

#90

Earlier quoted context omitted.

There are semi-legitimate cases where this is warranted. For instance when looking at a Notion database, standard Ctrl-F is almost useless, and document search needs to go through the notion API to return results, sometimes even related to the entries that are displayed on screen. I say "semi-legitimate" because I actually wish they'd map to a different shortcut, but can see the case for user wanted the remapping. Th…

Shouldn’t CMD+F be reserved to searching the current document/context? Something like CMD+K should be used for a more global search.

You cant use those keys (Super+) in the browser AFAIK. The operating system expects to use them for keyboard shortcuts.

(Guessing on macOS Cmd+V is actually triggering a clipboard event in JS, the site can’t actually see that you pressed Cmd+V)

Post reply on HN