For one of my websites I am thinking of using dynamic iframes. With dynamic I mean that people are able to enter there URL and it will be displayed within the iframe(s). Because I saw some topics about "hacked code" that is used within iframes I want to know how big the possible risks are and if there is any way to prevent it from javascript popups and stuff like that. I also tried <embed> html 5 tag but it has the same result. If I can't get in safe I won't continue the project because it won't be worth it. Hope to hear your thought on using iframes.
Google is your best friend: http://stackoverflow.com/questions/3839891/how-do-i-disable-scripts-in-my-iframe