If you dislike their politics, so be it - donate to campaigns or personally run against them. Write a letter explaining how you'd like them to vote.. But the amount of absolute crass behavior people allow "because it's the internet" is mind boggling.
However, just because it's narrowly legal to say something doesn't mean it's a good idea; this kind of thing does tremendous self harm to the speaker's public reputation.