From 0c745d758bb902ee093e94a7a032acc7b4f0097e Mon Sep 17 00:00:00 2001 From: ReimarPB Date: Tue, 14 Feb 2023 20:25:24 +0100 Subject: [PATCH] Improve and reformat opener --- opener/iframe.html | 9 +++++++++ opener/index.php | 41 ++++++++++++++++++++++++++++------------- 2 files changed, 37 insertions(+), 13 deletions(-) create mode 100644 opener/iframe.html diff --git a/opener/iframe.html b/opener/iframe.html new file mode 100644 index 0000000..8d7deba --- /dev/null +++ b/opener/iframe.html @@ -0,0 +1,9 @@ + + + + Opener + + + + + diff --git a/opener/index.php b/opener/index.php index 059c9ea..d7db748 100644 --- a/opener/index.php +++ b/opener/index.php @@ -18,19 +18,26 @@ @@ -41,6 +48,14 @@

JavaScript

 window.opener: Enable JavaScript

+  document.referrer: Enable JavaScript +

 window.name: Enable JavaScript +

Test yourself

+  window.open() +

+  <a> +

+  <iframe> - \ No newline at end of file +