block iframe to interact with main page code example Example: javascript prevent iframe interaction iframe { pointer-events: none; }