Live data from Hacker News

Don't fuck with paste

github.com

111–120 of 397 posts

Re: Don't fuck with paste

#111

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

Cheers for making Orion. I don't know how you guys managed to support Firefox and Chrome extensions (on iOS) but it's amazing and made moving from Android so much easier!

Just the sheer determination to build the best browser in the world :)

Re: Don't fuck with paste

#112
post #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)

Who’s using terminal emulators and text editors in their browser?

Actually, don’t answer that. I’m afraid of the answer.

Re: Don't fuck with paste

#113

For something simple like this that doesn't really need to be on all the time I've started leaning back towards bookmarklets over extensions. The code is usually simple enough to actually audit, it only runs when you click the bookmarklet, and it doesn't update underneath you without warning. A few months back someone shared several bookmarklets that they use, one of which was a simple one that disables all clipboard…

But then you need to click

Also you can get the extension loaded locally, and it will never update

Re: Don't fuck with paste

#114
post #65

Earlier quoted context omitted.

It is also not at all clear to me why it "needs to know when you change active tabs".

You need to detect and stop sound. You swap out active memory.

What does any of that have to do with making sure input fields are pasteable?

Re: Don't fuck with paste

#115
At a more general level you can use a keyboard remapping app like Keyboard Maestro on a Mac and Autohotkey on Windows to insert text by simulated typing, though it has the downside of requiring a different shortcut

Re: Don't fuck with paste

#116

There is one thing I hate more. Its having my cursor moved to another application as I am typing out a password in a field. I've literally had to change a password after it suddenly got sent out in a google search when I wasn't paying attention.

Stealing focus should be a misdemeanor! unfortunately it's a pervasive UI flaw

Re: Don't fuck with paste

#117
post #88

Earlier quoted context omitted.

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

Who’s using terminal emulators and text editors in their browser? Actually, don’t answer that. I’m afraid of the answer.

>text editors

google docs, WYSIWYG editors built into any number of webapps

>terminal emulators

ssh/serial consoles on whatever your hosting provider is. Sure, sometimes there's a command line tool to do the same on your OS's terminal emulator, but if it's for a task that you're doing once every few months (eg. recovering a bricked server), clicking a button on a website and getting a shell is just more convenient.

Re: Don't fuck with paste

#118
post #3

Ya, fucking with paste is a pet peeve of mine. What's a good argument for fucking with paste?

On the github "delete repository" screen or other extremely destructive actions, it stops you from muscle-memorying the confirmation and then accidentally deleting the wrong thing. Since you are actually forced, like really forced, to type out what you expect to happen, you won't delete my-important-work-repo when you meant to delete my-temp-test-repo.

You're forced to copy the name manually, which is just mindless typing, so doesn't force thinking, for that you'd need to provide some meaningful info about the repo to make it click that it's not a temp, or better yet make this actions undoable for some time

Re: Don't fuck with paste

#120
post #32

This[1] alternative bookmarklet was posted here a while back. [1]: https://bookmarkl.ink/ashtonmeuser/6e3869d8e468e016f22a4b4de...

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

I wish firefox would let the wonderbar '*' search feature work with bookmarklets... As it stands I have a few I'll never use because they're 4+ clicks away with no typeable shortcut.
Post reply on HN