---
id: 5479
title: "alert() is dead, long live print()"
source_domain: portswigger.net
source_url: "https://portswigger.net/research/alert-is-dead-long-live-print"
published_at: "2021-07-05T10:03:00Z"
tags: ["xss", "poc", "chrome", "alert", "print", "cross-domain-iframes"]
phying_url: "https://phying.com/item/5479"
lang: en
---

# alert() is dead, long live print()

## Summary

With Chrome 92 disabling alert in cross-domain iframes — prompts and confirms blocked too — PortSwigger proposes print() as a simple, setup-free alternative for XSS PoCs and detection.

## Intelligence Metadata

- **Sources:** portswigger.net
- **Published:** 2021-07-05T10:03:00Z
- **Original:** https://portswigger.net/research/alert-is-dead-long-live-print
- **Phying News:** https://phying.com/item/5479
