|There are two ways to avoid getting those messages.|
1. Turn off or un-install any/all antivirus and internet security software running on your system and disable the safe browsing settings in your web browser. Of course your system will then be open to exploitation. Any personal/private information such as banking passwords, credit card details, logins etc will become virtually public information.
2. Stop visiting the websites that cause the security warning as they are the ones trying to take advantage of people stupid enough to select option 1.
Goin' Fishin' (Some day)