Live data from Hacker News

Don't fuck with paste

github.com

71–80 of 397 posts

Re: Don't fuck with paste

#71
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 don't think they're undervalued compared to userscripts (with a dedicated extension for managing them).

Re: Don't fuck with paste

#72

Earlier quoted context omitted.

Then the vast majority of users are wrong. The correct answer is for it be the browser's find. Maybe apps could bind their find/search to ctrl-s since it is incorrect for browsers to bind this to save-page anyway.

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.

Re: Don't fuck with paste

#73
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, c…

Ahh 00s/10s era ING Direct and TreasuryDirect. I think TreasuryDirect finally dropped the virtual keyboard in the last couple years.

Re: Don't fuck with paste

#74
post #35

> 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…

I get around that by downloading the extension source and then using Chrome extension developer mode to “load unpacked extension”. Then I’m confident the extension won’t change on me. (But for this extension I don’t give it all site permissions anyway. I just enable on site by site basis)

That's terrible for security, but great for convenience :)

Re: Don't fuck with paste

#76
I was paying my real estate taxes recently and the payment processor chosen by the county wouldn't let me paste anything. It was fucking bananas. I had to type in bank account numbers and routing numbers. None of the form filling worked. I was paranoid the whole time about entering the wrong data, and I wanted to punch someone in the throat for that bullshit.

Re: Don't fuck with paste

#78
post #5

Right up there with hijacking Ctrl-F.

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.

Re: Don't fuck with paste

#79

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

Brave has a "force paste" that I use now instead of Chrome and the linked plugin. I assume the motivation was the same. (What a*hole thinks blocking paste is reasonable??) Good on you for solving this too. It's a nonsense bit of functionality.

It's always incapable product owners and business people who don't understand security but think they do.

Re: Don't fuck with paste

#80
post #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?

Yes https://developer.chrome.com/docs/extensions/get-started/tut...
Post reply on HN