beforeSend for iframe fallback