Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Byomeer22097yI got the same request earlier this year... just preventDefault() in the copy event was enough for them. Of course you could still inspect the html code and copy...
Maybe i should have put some weird empty HTML snippets randomly into the plain text, so that it looks like exported from Word 2003 =D -
feature1107yI am in the middle of an argument with the people who wrote the requirements for our public website about something similar. It is a security requirement that a user shall not be able to copy the email address field and paste it into the confirm email address field (the requirement actually reads that the field should only accept typed text). They can't explain to me how it is an actual security problem, and I've bet them they can't stop me from doing it across all browsers.
They've got some JS running on the page that stops right click copy/paste, and that prevents ctrl+c/ctrl+v. Blew their mind when I typed the email into the email field then highlighted it and drag/dropped it into the confirm email field.
Next week I am going to show them browser auto-complete and password managers that can fill forms. They might have an anyeurism. -
rvnx11597yI hate it when sites with images do this.
I mean I get the point, but if that site is centered around images that can be shared and then just offers some stupid ass link that doesn't even link directly to the image you wanted to share, then it's just bullshit. *Opens Dev tools and searches network resources for picture* -
"We need copy protection, so we write the content in word, take a screenshot and host the image"
Show off wget, convert and tesseract...
"Are we legally allowed to chop off the fingers of users? We need to protect our data!"
"Have you tried not having a website? That would help." -
@bittersweet ! Thank you never heard of tesseract before this is going to help me on a side project I gave up on :D
-
-
I've seen sites where I could not even select the text with left click. How is it done?
-
feature1107y@shaji oh, I have... They just get really angry and tell me that "It works!"
The people who write the requirements are not developers. I had to show them on a video conference that in Firefox, if I drag/drop text it is like a copy paste, and their shitty JS is powerless to stop it. Their reaction was more or less to jam their fingers in their ears and yell LA LA LA LA LA LA I CAN'T HEAR YOU! -
@feature + some people are just plain stupid. What I do is just drag the text I'm after in to field where I can't copy and paste.
It's like d**kheads who change the default port to a service thinking they are being clever...
I wish they would spend that time they wasted making me a cuppa or something useful. Then again the cuppa would likely be wank or worse Typhoo.
😝😝
Related Rants
Customer: ... and can you also disable right-click to prevent our website's content from being copied?
Me:
undefined
illiterate
imbecile
useless