Young adults who adapt their behavior to match a social situation are just as likely to post offensive content online as those who act impulsively, according to a new study — suggesting there’s a wider social media culture that encourages risky behavior.