summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/dev-html/index.html
blob: d141faa2d48558fec41e854ede159cf81f7b7e61 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
<html>
  <head>
    <meta charset="utf-8" />
    <link rel="manifest" href="./manifest.json" />
  </head>
  <body>
    <script>
      function openPopup() {
        window.frames["popup"].location = "/popup.html";
      }
      function openWallet() {
        window.frames["wallet"].location = "/wallet.html";
      }
      function closeWallet() {
        window.frames["wallet"].location = "about:blank";
      }
    </script>
    <input type="text" />
    <button value="asd" onclick="openPopup()">open popup</button>
    <button value="asd" onclick="closeWallet();openWallet()">
      reload wallet page
    </button>
    <hr />
    <iframe
      id="popup-window"
      name="popup"
      src="about:blank"
      name="popup"
      width="500"
      height="325"
    >
    </iframe>
    <hr />
    <iframe
      id="wallet-window"
      name="wallet"
      src="/wallet.html"
      name="wallet"
      width="800"
      height="100%"
    >
    </iframe>
    <hr />
    <iframe src="/tests.html" name="wallet" width="800" height="100%"> </iframe>
    <hr />
    <script src="/dist/background.dev.js"></script>
  </body>
</html>