What's the best way to allow users on your site to add Adsense code (javascript code) while still maintaining some sort of site security.
In other words, if we allow users to add javascript, how do we prevent from putting any and all sorts of code, including things that are unsafe or generally unwanted.