Avoid overriding the check-local rule, hushing automake warning
[gnash.git] / plugin / npapi / test.html
bloba6f2c07577bdae1fc9610cdd72f73fdc20a2ba4f
1 <HTML>
2 <HEAD>
3 <TITLE>Simple Plug-in Test</TITLE>
4 </HEAD>
5 <BODY>
7 <center>
8 <h1> XPConnect Scriptable Sample Plug-in </h1>
9 </center>
11 This page contains a testcase which demonstrates the work of scriptable
12 plug-in with Mozilla. This example plug-in has no native GUI and does not
13 draw anything in the plugin window. Clicking on the button will result in calling
14 native plugin method from JavaScript. Show Version will instruct the plug-in
15 to retrieve the Mozilla user agent string and return it to JavaScript to show
16 in the alert box.
18 <br><br>
20 <center>
22 <embed type="application/simple-plugin" width=1 height=1 hidden="true"><br>
24 <script>
25 var embed = document.embeds[0];
27 function ShowVersion()
29 alert(embed.version);
31 </script>
33 <br>
34 <form name="formname">
35 <input type=button value="Show Version" onclick='ShowVersion()'>
36 </form>
38 </center>
40 </BODY>
41 </HTML>