Hacker News new | past | comments | ask | show | jobs | submit login

Github has been doing this for quite a while know when you try to delete a repository - you have to type in the exact repository name to confirm.



Which I always mindlessly copy and paste...


But maybe this is enough? I do this too, but this gives me time to actually read the repo name twice. It's way better than a confirm button for me.

I'm sure it would also wake me up from autopilot. But I don't do this often so I can't really know. It seems like this is good enough for many people, who don't perform this action too often.


If you really think that’s an issue, pasting could be disabled for that input field. Would that make you happier?

It hasn’t been an issue for me, since repo names aren’t usually super long and onerous to type.


> If you really think that’s an issue, pasting could be disabled for that input field. Would that make you happier?

many (most?) HN users probably have that disabled, because too many sites abuse it to block password managers, for "security reasons" .


I disagree with the many/most. Many/most are probably using uBlock Origin, which doesn’t try to prevent things like blocking pasting (to my knowledge). I’m sure some are using NoScript-like features... but that’s not the same as specifically preventing websites from preventing paste. It’s just a sledgehammer. I can’t name an extension to do that one task (and/or similar tasks) off the top of my head, and I’m reasonably familiar with discussions in these parts. uBlock Origin is known to be very popular, unlike an obscure “allow paste” extension. But, that’s just like, my opinion... as they say.

The point I was making is that copying and pasting seems like more effort than just typing the repo name. Do you commonly encounter long, inscrutable repo names? Do you delete repos frequently enough to have built up the habit of copying and pasting the repo name into the delete box?

If it is common enough, disabling paste would actually benefit the user based on the premise of the article.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: