prevent click events in iframe javascript code example Example: javascript prevent iframe interaction iframe { pointer-events: none; }