সম্পাদনা
<!DOCTYPE html> <html> <body> <iframe src="about:blank"></iframe> <script> document.querySelector("iframe").contentWindow.document.body.textContent = window.frameElement ? "আইফ্রেমের ভেতরে" : "top window"; </script> </body> </html>
পূর্বরূপ