File: dynamic-iframe.html

package info (click to toggle)
golang-github-newrelic-go-agent 3.15.2-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 8,356 kB
  • sloc: sh: 65; makefile: 6
file content (19 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Dynamic iframe Generation</title>
  </head>
  <body>
    <p>The quick brown fox jumps over the lazy dog.</p>
    <iframe width="300" height="300">
      <p>iframes are not supported by your browser</p>
    </iframe>
    <script>
      var f = window.document.getElementsByTagName("iframe")[0];
      var doc = f.contentWindow.document;
      doc.open();
      doc.write('<html><head></head><body>This is the iframe</body></html>');
      doc.close();
    </script>
  EXPECTED_RUM_FOOTER_LOCATION</body>
</html>