Strip out JavaScript only

Jun 28, 2010 at 6:30 AM
Hi, In my input I have both javascript and flash objects. I want to get rid of javascript but leave object/embed tags alone (may be changing AllowScriptAccess parameter to sameDomain, not more). When I use getSafeHTMLFragment function it removes both js and object/embed tags from my input. When I was watching official videos I remember authors saying about an ability to specify whilist/blacklist tags. I can't find any information on how to do this. Please help. Thanks.
Jun 28, 2010 at 3:23 PM

Someone said there was the ability, or will be? It's certainly not there now, but is in as a feature request to be worked on when there's some time. However right now you're not going to able to do it I'm afraid.