summaryrefslogtreecommitdiffstats
path: root/content/test/data/browser_plugin_embedder.html
blob: dc2e780d72bebc3e23816992d104a631272d9307 (plain)
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
30
31
32
33
34
35
<script type="text/javascript">
function SetSrc(src) {
  var plugin = document.getElementById('plugin');
  plugin.src = src;
}
function SetSize(w, h) {
  var plugin = document.getElementById('plugin');
  plugin.width = w;
  plugin.height = h;
}
function Back() {
  var plugin = document.getElementById('plugin');
  plugin.back();
}
function Forward() {
  var plugin = document.getElementById('plugin');
  plugin.forward();
}
function Go(relativeIndex) {
  var plugin = document.getElementById('plugin');
  plugin.go(relativeIndex);
}
function SetTitle(str) {
  document.title = str;
}

window.document.title = 'embedder';
</script>

<object id="plugin"
    tabindex="0"
    type="application/new-browser-plugin"
    width="640"
    height="480"
    border="0px"></object>