if (confirm("Why don't you go fuck yourself?")){

Aug 17, 2006 22:02

Things I learned while coding today. Or, more accurately, things I had forgotten I knew and relearned while coding today ( Read more... )

Leave a comment

Comments 3

etcet August 18 2006, 12:20:28 UTC
Errr... wouldn't simply hacking the global.asp to tweak the verbiage displayed in Confirm() have been a lot simpler?

I ask, because this is the solution we snuck into some nag-ware at BRC3 to guilt users into making sure they did something every day.

At logout, the default says, "Are you sure you want to quit? OK/Cancel" We hacked it to say "Have you done the Question of the Day? Yes/No"

Reply

draxzaster August 19 2006, 02:01:28 UTC
Can you modify the global.asp to tweak javascript? If so, this is something I must learn more about.

I did learn the VBScript way of doing it. Ready?

MsgBox ("Would you care for a glass of shut the fuck up?", vbYesNoCancel)

Now THAT was fucking rough wasn't it? The best part? Yes = 6, No = 7, Cancel = 2. Don't ask me how/why they came up with that.

This is the first time I have EVER programmed with a single browser in mind, so my client-side VBScript is woefully neglected. Next time, all VBScript.

Reply


Apropos, today's Dilbert etcet August 18 2006, 12:27:08 UTC

... )

Reply


Leave a comment

Up