- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
At least you can just turn javascript off, because you KNOW they aren't doing any server side verification.
Admin
If you think Sandy has it rough, imagine Chewbacca's predicament. He doesn't have a last name, so he fails the two-character minimum. Then he think to himself, "Well, maybe I can put in 'Chewbacca of Kashyyyk' instead." Oops...
And what if your last name is Masdford?
Admin
What the heck?
Some developers confuse me.
What were they thinking?
Admin
At least there's no problem if your last name is Qwerty.
Admin
Opposite to my case
Admin
The real wtf is gravity...
but who are they to say what is a valid first name? If I want to call my child OoooooLaaaaa, that's my choice.
Admin
These stupid validations are always pet peeves of mine. The worst is the security question validation (yes I know we have talked about them to death).
I got one the other day that asked the number of my street where I grew up. When I responded with 54 it told me it wasnt enough characters - there is a difference between trying to handle bogus data and just making it plain annoying.
Now if this were a password field, I could understand this validation logic a little more.
Admin
If that is your choice then social services should probably choose to take away your child :)
Admin
Your Last Name Is Too Short() ()Last Name has to be at least 4 characters long.
Admin
Apparently Cookson is also invalid
Admin
I recently had to enter a password of at least 8 alphabetic characters, no numbers allowed. Aaargh.
Admin
"He tried again... Sandy took a quick peek at her passport ..."
Admin
I once had a password that specified "The first digit of your password must be a number." - How much do you think that helped security.
Admin
That user asdf? I wouldn't let him use my software either.
Admin
Ugh... it's a long time since I've seen JavaScript written as unutterably badly as that.
Apparently they didn't get the memo that "eval() is evil"...
Admin
anonymization.. ur doin it wrong.
Admin
I'm not saying the three-or-more letter restriction is legitimate, but if anyone ever needs it, here it is:
I wish I could get paid for removing useless code. I'd be rich.
Admin
Sandy should choose a valid gender.
Admin
I am enlightened: asdf
Admin
My favorite part is:
Admin
Admin
Actually on azerty keyboards (like french ones) asdf becomes qsdf. So my usual dummy name is not checked by this awesome script!
Side note : My browser had auto-completion for captcha field. Can it read? So smart...
Admin
Reminds me off some server side stuff I have seen: if (form.title.equals("Mister")) customer.setIsMale(true);
Worked "fine". Until internationalization came and the database was full of female foreigners...
Admin
Admin
enum Gender { MALE, FEMALE, GENDER_NOT_FOUND };
Admin
If you want to see a stupid Javascript validation/restriction check out this site: http://www.ci.org (Compassion International)
If you right click anywhere on the site (not just images) a pop-up appears reading:
"Compassion has disabled the right click feature on photographs of children on our site. The additional effort has been implemented to protect the security, dignity and privacy of children in our program."
That's right, this site completely disables your context menu in the bizarre belief they can prevent you from "stealing" their photos.
I guess Compassion believes only they should be able to "exploit" children by posting their photos on the Web?
Admin
Admin
Admin
When will people realize that receiving "invalid" data isn't as bad as losing a potential customer?
Invalid data can be detected and cleaned up later. Getting a customer back is nearly impossible.
Admin
Well done sir. You win this round.
Admin
Alex, are you aware that your fisrt version is the one that is sent in RSS?...
Admin
True. However, "Sandy" in this story seems a bit gender-confused.
Admin
What happens if my first name is "return true" ?
or "return true;" not really sure which is the correct one and the second name contains what
Admin
This story would have been much better if the protagonist were named Pat.
Admin
It's a little odd that he'd single out only asdf as invalid. Perhaps he was coming back later to add hjkl, fdsa, qwerty, etc? Or did he really think this would happen every time:
lastname: a ("wow, ok must be too short.) lastname: asdf ("nope. hmmm" lastname: aaaaaa ("aww shucks. Well I guess I had better type a real name now")
Admin
I once dealt with a (Spanish) website that would not sell to anyone without a middle name. If you didn't have one you had to invent one.
Admin
It explains also why my last name is so often misspelt.
Admin
That's right, this site completely disables your context menu in the bizarre belief they can prevent you from "stealing" their photos.
What is most frustrating about such sites is if you are like me and tend to use the context menu back item to navigate.
I want to go back, so right click to do so and instead a @%$@#$@# popup appears accusing me of trying to steal photos, it rapidly makes me turn off javascript, disable context menu manipulation or just not visit that site.
captcha: transverbero
Admin
And if your last name is O (an actual surname in France)?
Admin
Then while you're at it, download all of the pictures of their children that they're supposedly trying to "protect", and email them back to their webmaster. For bonus points, include a ransom note.
Admin
Does Sandy go by the pseudonym Mystique?
Admin
The funny thing about all those context menu disabling scripts is that they don't work in Firefox; it displays the context menu anyway, giving it focus, with a silly alert box saying you can't use the context menu. Usually sites do this to try to keep you from taking their pictures, so I make it a point to download something out of spite.
Admin
Admin
Only in some browsers. (Only in one browser, I suspect). Hence or otherwise deduce ...
Admin
I had to deal with almost every website once I lived in Ireland, where there are no ZIP codes (only Dublin has 1-9 as ZIP code)
Admin
I ran accross that one, and seem to recall that the 'entire site' part was browser specific. It works in IE and Opera- it only disables for the entire page in Firefox and Safari.
They actually responded when I complained, so I offered to fix it, and they never replied. That was at least three years ago.
http://naartjie.homestead.com/ disables right click entirely for all browsers. Good time for noscript!
Admin
but make sure to hide it once you've downloaded it, don't want them downloading it back again.
Admin
So I guess if my name actually is John Jacob Jingleheimer-Smith, I'm completely out of luck?
Admin
She doesn't really like pointers to ports in ... well, never mind.
Admin
Opera handles matters rather more elgantly, by completely disregarding their little right-click scripting adventures.