| Use of no-ads.pac as a primitive porn filterJuly 9 2007 at 6:16 PM No score for this post | Folkert (no login) | |
|
no-ads.pac can be used as a primitive porn/adult/sexual content filter.
Analogous to the variables re_banner and re_adhost, another one is added along with them, with many (parts of) words which are often used in adult URLs:
// matches any part of url of adult links
var re_adult = /(adult|amateur|aphrodi|babe(s|z)|banging|beaut|bestial|billen|bitch|bizar|bloot|blowjob|boob|borde(e)l|brothel|borst|boyz|breast|butts|buttock|carnal|celeb|centerfold|clit|(c|k)ondo(o)m|cumshot|desire|dildo|dirty|ebony|ecsta|ejacu|entici|erect|erot|escort|exta|fetish|filthy|flick|flix|frenzy|****|geil|girlz|gomor|hardcore|harem|hitsig|hoer|homo|hooker|horny|incest|kittel|latex|leather|lesb(i|o)|libido|liefde|licking|lolita|maagd|masoc|mastur|meiden|mistress|mokkel|naakt|naked|naughty|nippl|nude|nudist|nym(f|ph)|offshoreclicks|orgasm|org(ie|y)|pelvis|penetra|penis|penthouse|picz|piemel|pinup|playboy|pleasure|poesje|porn|puss|raunchy|sadis(m|t)|scandal|se(ks|x)|sensu|****|shocking|slut|smut|sodom|softcore|spank|standje|starz|suck|teenz|tepel|throat|tieten|tits|topless|torture|vagina|venus|voyeur|vulva|whore|wive|zoophil|[\.|-|_](xxx|ora(a)l|ana(a)l)|oraaal|anaaal)/;
To activate it, below the line
|| re_adhost.test(host)
you also have to add the line:
|| re_adult.test(url)
In case of a false positive, which occur now and then because several blocked words also hav not-erotic uses, you can temporarily disable no-ads.pac with the no-ads.int/off kludge described in the comments in no-ads.pac. If this is necessary too often for you, you can of course remove parts of re_adult.
I hope this is useful for those who do not want to be confronted with erotic content unvoluntary. | |
| | Responses |
|
|