We are working in a software company and in our team, we have a lead and he simply don't like the developers who try to contribute SO in a regular basis (meaning try to hit the rep cap daily). Though we finish out the work in a given period of time, he doesn't want us to contribute to SO in our downtime at the office. Rather, he's poking us to provide support for mediocre developers who struggle to complete their task on time.

Yesterday he got very angry, and scolded me. "Don't force me say this once again, it will not be good. Do office work in the office. Take care of your other jobs (SO contribution) at home."

See, we are not spending the downtime (unproductive hours in the office) in Facebook or other useless things as our office's other team members do. We are improving our knowledge. Keeping working by looking at the project all the time is impossible.

What should I do in order to continue contributing to SO at this context? Should I switch my job to some other company? In SO all the high rep users are employed. How is this (contributing SO from office) possible for them?