For me, procrastinating by looking at websites is usually a sign that something else is wrong, e.g. I don't really see the purpose of the task I'm supposed to be doing. When I'm excited by a task I find I don't procrastinate. Unfortunately it's not always possible to choose just the exciting tasks for my plate!