The way to reduce bad beliefs is to, IMHO:
1. Ingratiate and investigate. Respect the people, become their friend, listen to their full arguments (don't imagine straw men), understand their motivations. You might even discover the belief isn't so bad. If you don't, continue on to:
2. Suggest alternate ways of viewing the situation. People will always argue their point and appear to not accept your view. But I've found they almost always actually move slightly towards your point, oftentimes after the conversation, even if they won't admit it. It takes time for a worldview to shift.
Arguing makes no sense prior to ingratiating yourself, because if you are an enemy your view will not be appreciated.
This isn't something that you can really do online, but it is something that can be done in real life and should probably done more. Friends are a powerful force.
One example is subreddits: over time they start to develop a subculture and the mechanics of downvoting and upvoting means that people with more moderate beliefs can end up leaving after awhile, leaving the subreddit to become more and more polarized over time.
This makes it hard to have these types of empathetic conversations.
I normally don't argue for censorship but I will throw out that if you believe the following things:
1. There exist thoughts and beliefs which are dangerous to (my) society
2. These thoughts and beliefs are normally tempered through social pressure in the dominant culture
3. Through the internet you can create your own subculture which reinforces your thoughts and beliefs to become the new normal
Then it makes sense to try to stamp out any places where you can form these groups, since you (the dominant culture) want to maintain the status quo.
This isn't necessarily unique to the present day politics, there was a time when civil/economic rights were a radical faction in a broader culture which would want it stamped out too.