blob: 45a471badb5280bad0394fbf8d0affb605f59818 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<html>
<body>
<script>
// document.write is not pretty, but it saves us from having to wait for the
// DOM to load before adding iframes. This means one less callback to wait on.
function addIFrame(host) {
document.write(['<iframe src="http://', host, ':', location.port,
'/files/extensions/api_test/executescript',
'/permissions/empty.html"> </iframe>'].join(''));
}
addIFrame("a.com");
addIFrame("b.com");
addIFrame("c.com");
</script>
</body>
</html>
|