Notify the User 
You can give the user some notifications using javascript.
If your site contains offensive material, you could place the following code in your index file. It gives the user a confirmation dialog, where he can choose not to enter the site. See it in action.
<script language=javascript type="text/javascript">
<!--
if (!confirm ("This document contains offensive material!\nLoad it anyway?"))
history.go(-1);
// -->
</script>
You can also give the user a simple message using alert("message"). See it in action
<a href="javascript:alert('Hi There!')">action</a>
|