The Hackers Will Always Overcome
So I bought a ticket to go to Taiwan in December, but later decided to postpone the trip.
The departure date was next week so I knew I'd better call today and cancel it. I called the airline at 5:15pm and they told me to use their website to cancel it. So I hung up and surfed on over.
After finally navigating this very crufty site to the cancellation page, I filled out the form and clicked the CONFIRM button. The page simply zipped to the top and did nothing. Strange. I tried again. Same thing. I looked around to find a better button to click. Nada.
At this point I said fµck it and called them back... I'm sorry, the office is now closed... office hours are from 9am to 5:30pm...
FµCK! This time I really said ƒµçk it!! I'm a hacker! I'm going to hack this site and make it work!!!
I fired up Firebug and did a document.getElementsByTagName('form'). Cool! Just one form. I clicked on the result and firebug showed me the guts of the form. It all looked good. Then I saw onsubmit="return validate_data()". That stupid stupid JS function. document.getElementsByTagName('form').removeAttribute('onsubmit').
Now I went back and clicked CONFIRM again. Nothing... Hmm. Is this button even part of the form? Oh ƒµçk it. Who needs a button to submit a form? document.getElementsByTagName('form').submit().
Don't let crappy e-commerce sites get you down. Just hack the ƒµçk out of them!