This project tests the behavior of the iframe "unload" event and the "closed" property.
For more details see it running live.
- Clone this repo by running
git clone https://github.com/astegmaier/iframe-closed-playground.git
- Change into the directory by running
cd iframe-closed-playground
- Ensure nodejs is installed.
- Run
npx http-server
to start a local server. You can also installhttp-server
globally by runningnpm install -g http-server
and then runninghttp-server
directly. - Open
http://localhost:8080/
in your browser.