A bit of a different take on the: "My colleague is distracting, how can I resolve this?"

Maybe a bit of background. I myself am a young developer, autistic and am working my first full time job. In my internship and often other places I have always had the comment that I barely spoke. Although I now feel very comfortable at my own work, I distract myself often enough that it is annoying to myself. Often times talking with my coworker next to me and being a distraction to others.

We have an open office, islands are close to eachother. The dev team does have to communicate a lot and laughter is appreciated, there is a fine balance between having a fun place and disturbing others around me.

1. What steps could I take to distract myself less? I have tried the following: blocking all sites non work related that I catch myself drifting too, installing a strict workflow plugin, taking a breather outside when I'm feeling anxious / annoying.
2. How can I reduce myself being distracting to others?