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