Akron | 5e1252e | 2022-12-19 17:57:56 +0100 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
Akron | 74dbfe0 | 2022-12-20 13:41:59 +0100 | [diff] [blame^] | 4 | <title>External Sale</title> |
Akron | 5e1252e | 2022-12-19 17:57:56 +0100 | [diff] [blame] | 5 | <script data-server="{{ .korapServer }}" src="client.js"></script> |
Akron | 74dbfe0 | 2022-12-20 13:41:59 +0100 | [diff] [blame^] | 6 | <script><!-- |
| 7 | "use strict"; |
| 8 | |
| 9 | function pluginit(P) { |
| 10 | |
| 11 | // Request metadata from the embedding match |
| 12 | P.requestMsg( |
| 13 | { |
| 14 | 'action':'get', |
| 15 | 'key':'textSigle' |
| 16 | }, function (d) { |
| 17 | var textSigle = d.value.value; |
| 18 | var xhttp = new XMLHttpRequest(); |
| 19 | xhttp.onload = function() { |
| 20 | document.getElementById("buy").innerHTML = this.responseText; |
| 21 | P.resize(); |
| 22 | } |
| 23 | xhttp.open("GET", textSigle, true); |
| 24 | xhttp.send(); |
| 25 | } |
| 26 | ); |
| 27 | |
| 28 | if (window.dynCall) { |
| 29 | window.dynCall(P) |
| 30 | }; |
| 31 | |
| 32 | // Set plugin object globally |
| 33 | window.Plugin = P; |
| 34 | |
| 35 | }; |
| 36 | --> |
| 37 | </script> |
Akron | 5e1252e | 2022-12-19 17:57:56 +0100 | [diff] [blame] | 38 | </head> |
| 39 | <body> |
Akron | 74dbfe0 | 2022-12-20 13:41:59 +0100 | [diff] [blame^] | 40 | <p id="buy">...</p> |
Akron | 5e1252e | 2022-12-19 17:57:56 +0100 | [diff] [blame] | 41 | </body> |
| 42 | </html> |