Good job-- getting online to chat instead of eating is a great choice. (I tend to eat junk food WHILE I'm online!)
Having a two year-old who says "taste, mommy?" every time I eat anything helps.
I have to keep in mind now that if I'm eating it she's eating it, so that has helped me to keep much less junk food in the house. If you don't have a young child available, maybe thinking about having someone there with you might help.
Another trick I try is to get my hands busy-- I like to clean something, preferably something that really needs scrubbing, when I'm upset. It's a good way to vent that frustration without putting extra calories in my mouth.
The best thing I do is journal everything I eat. I have a cheapo weekly calendar with large daily blocks, and I write down everything I eat and drink. I also record my weights and sometimes notes about why I ate what I ate-- ie: "dinner at mom's", or "daughter is sick". Nobody ever reads it but me, but, still, reading back over a daily diet of " 6 cans soda, 1/2 bag chips" is definitely motivating for me. It makes me accountable for every calorie.