Home > Interesting Stuff > Using Firebug to Beat Poor Web Development

Using Firebug to Beat Poor Web Development

October 12th, 2009 Leave a comment Go to comments

For my 500th blog post, I figured I'd share something amusing.

From time to time, my wife and I order from Swiss Chalet and the order it pretty standard, quarter chicken and a baked potato. The one thing we've always found is that they don't provide enough sour cream with the baked potato but luckily, for $0.25, you could add an additional container of sour cream. Recently however, they've removed that option. The item is still on the menu, and you can still visit the page, however the 'Add this to your order' button was removed. This weekend, while we were ordering I decided to see if FirebugĀ  could assist me in ordering my extra sour cream.

Menu with Sour Cream listed as an option

Menu with Sour Cream listed as an option

Sour Cream with no 'Add this to your Order' button

Sour Cream with no 'Add this to your Order' button

Plum Sauce for comparison with 'Add this to your Order' button

Plum Sauce for comparison with 'Add this to your Order' button

Right click "Back" button and click Inspect Element

Right click "Back" button and click Inspect Element

Table Element below Back button shows area where 'Add this item to Order' would have been.

Table Element below Back button shows area where 'Add this item to Order' would have been.

Right Click on the table element and select 'Edit HTML'

Right Click on the table element and select 'Edit HTML'

Insert code from another page with an 'Add item to your Order' button

Insert code from another page with an 'Add item to your Order' button

Click 'Add Item to your Order' and view the item in your cart.

Click 'Add Item to your Order' and view the item in your cart.

So in the end, remember developers that your HTML and JavaScript exist on the client side, meaning that once it's rendered in their browser... users can manipulate it as they wish. Leaving the item in the database means that anyone with half a clue can still order the item... and all it takes are these few steps. And yes, it does work... last night we received our additional sour cream with our order and it was on the receipt and paid for.

  1. July 24th, 2010 at 21:15 | #1

    I wonder if there are any financial institutions that use client side JS like small indy banks or insurance groups???

  2. January 2nd, 2010 at 04:08 | #2

    Thanks for the comments. There was an incident a little while back… got hit before I upgraded wordpress… I cleaned it as soon as I found it.

  1. No trackbacks yet.