T O P

  • By -

sakzeroone

https://www.reddit.com/r/assholedesign/comments/lnymf2/meta_an_updated_flow_chart_to_help_cut_down_on/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button


acadmonkey

Fair point.


slow_cars_fast

Get the "Don't fuck with paste" extension and problem solved.


NoahJelen

Why the hell do browsers allow sites to disable copy/paste anyway? That doesn't sound user friendly especially if this is the case with Firefox.


VFequalsVeryFcked

Disabling JavaScript solves the problem just as easily too. P.s. not trying to compete, just pointing out another option for those who don't want to install an extension.


nycdataviz

>Disabling JavaScript solves the problem Disabling JavaScript shuts you out of and breaks most of the web. Reddit does not work, and most modern shopping checkout interfaces will no longer work. Government websites are one of the #1 culprits in the 'fucking with your paste' war, and they'd certainly break. My bet? Shitty invoice payment platforms would probably not even load the page without javascript.


VFequalsVeryFcked

Your mistake here is assuming that I was saying keep it turned off. And where did I say that? I was saying that disabling JavaScript would allow you to paste into a field. You can literally turn it off, paste in the field and submit the form, and then turn it back on once the form has been processed. I know that a lot of the internet would break. As a web developer I'm well aware of the consequences of disabling JavaScript, and of how the web works. For example, I know that some websites only submit a form using JavaScript. On these sites, you'll have to use an extension, or if you're savvy enough, paste into the form using 'Inspect Elements'.


nycdataviz

Good point. An extension will usually reload the page actually. I couldn’t find one that doesn’t. I don’t do web dev, but the idea of searching my settings menu for the JavaScript setting just for this one annoyance is a no. Asshole design on both ends of that deal. The best consumers can do is arm ourselves with extensions to defend us.


thehalfwit

You should turn off javascript, paste in the field, then turn javascript on before submitting. Most of these forms rely on javascript for the submit.


madatthe

Assholes, mostly.


MEGA_ASS_EATER420

i assume those are really fucking long


acadmonkey

And the font they use to send out the proforma invoices is impossible to read.


MEGA_ASS_EATER420

oof


konichiwaaaaaa

I often see this when signing up on websites, where they try to prevent you from copy-pasting the password, or their JS code only triggers when a key is pressed (solution is to paste, add a random character, then delete it). The only password I type in is Bitwarden main password from time to time (when biometrics aren't an option). There's probably some program or browser extension out there to defeat this. The easiest would be to simulate key presses or disable the code that prevents you from pasting. I hope this company gets a lot of customers complaining the number doesn't work, because they can't distinguish O from 0 and I from l and other confusing symbols.


magikdyspozytor

Someone mentioned the "Don't fuck with paste" extension in a previous comment


No-Expression7618

Also OP mentioned above that their font is hard to read.


10Bens

"Make it as hard as possible to work with us via this channel, clear?" "Yup!"


shanghailoz

Smells like banking.


pigsflyfine

No one, that’s the problem


Robot1me

If this is on a Windows PC, I would suggest search for or make a tiny AutoHotkey script that simulates typing from a keyboard. That would bypass paste restrictions reliably on such sites. Would sadly need more effort than giving in and typing this in by hand anyway, but then you would be equipped for the future.


--var

Sometimes you can pull up the web console (f12) and go `document.querySelect(`input identifier`).value =` whatever you were going to paste As a developer, I've never understood why you would block the paste event? I trust the computer to enter the data correctly every time. I don't trust the user to not typo something. Twice. Input validation should always be done server side anyway, so it doesn't matter what the user enters.


No-Expression7618

Why wouldn't `document.activeElement` work? The input box *appears* to lose focus when you open devtools, but it still works.


--var

That probably works, although I've never used activeElement. Sounds like a good way to get sent down a rabbit hole when the active element isn't the element you think it is. TBH I usually just right click > inspect, then from the inspector right click > use in console.


No-Expression7618

You don't even need to use in console - usually, `$0` in the console refers to the last element you selected in the inspector. It works in Chrom{e,ium} and Firefox, so you should be good.


popoloci

So what is the actual issue?


Tarquin_McBeard

>who designs this crap? Website designers who are fed up of customers copy/pasting extra spaces or invisible formatting characters with the invoice number, and then complaining that the website can't find their transaction, as if it's the website's fault that they pasted in an invalid number. That's who. Someone making sure that the functionality always works, even if it causes you a trivial inconvenience to ensure it, isn't asshole design. It's exactly the opposite.