Filter URLs of websites with adult content
<p>What I was trying to do was have users type in their favorite sites in a form and submit it onto their profile</p>

<p>What I wanted to ban was pornographic sites, but since there are most likely thousands of those sites out there, what is the best way of banning them?</p>

<p>My first option was using javascript like this one </p>

<pre><code>var bad_sites_arr=new Array("bad.com","adult.com");
</code></pre>

<p>but if I did this, I would have to type every single site and put them in quotes separated by a space and comma. This would be tedious and very time-consuming but also very effective.</p>

<p>My question was, is there another way of banning adult sites?</p>
