Here in the UK it is illegal to be grossly offensive online. Racism for example will have you charged under the Communications Act 2003.