How to recognize the iframe?

Is there a way to recognize the infected web sites???

Thanks

avasts web shield detects these very well when they are redirecting to malicious sites, etc.

But why are you asking, e.g. have you a problem, etc. we need more information ?