JSFiddle - React, Tailwind, and code Playground

HTML

<iframe src="http://www.google.com" onload="alert('Content loaded, removing iframe...');this.parentNode.removeChild(this);"></iframe>