Before the Web 2.0 internet made people’s real names so public, it was in fact quite difficult for things many people did to affect their employment. Your employer simply wouldn’t have been aware of how you were acting somewhere else outside their direct purview. Now, however, if an opponent knows that you are employed at X, they can bring pressure on X to fire you in an extremely public way, such that your employer will buckle to the social pressure lest it affect their bottom line. That simply would not have happened so often prior to about 2007 at least.