File: cross_origin_iframe.html

package info (click to toggle)
vimium 2.1.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,212 kB
  • sloc: javascript: 12,766; makefile: 7
file content (29 lines) | stat: -rw-r--r-- 506 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <link rel="icon" href="data:;base64,iVBORw0KGgo=">
  <title>Cross origin iFrame</title>
  <style type="text/css" media="screen">
    body {
      background-color: black;
      color: #999;
      height: 4000px;
    }

    iframe {
      width: 800px;
      height: 400px;
      border: 2px solid green;
    }
  </style>
</head>

<body>
  Iframe from a different origin as its parent:<br />
  <iframe src="https://example.com" />

</body>

</html>