| <!DOCTYPE HTML> |
| <html> |
| |
| <head> |
| <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> |
| <title>Page to be Prefetched</title> |
| <script src="/common/dispatcher/dispatcher.js"></script> |
| </head> |
| |
| <body> |
| <script> |
| const pageshowPromise = new Promise(resolve => { |
| window.addEventListener('pageshow', resolve, { once: true }); |
| }); |
| |
| async function getTransferSize() { |
| await pageshowPromise; |
| return window.performance.getEntriesByType('navigation')[0].transferSize; |
| } |
| const params = new URLSearchParams(window.location.search); |
| const uuid = params.get("uuid"); |
| const executor = new Executor(uuid); |
| </script> |
| |
| </body> |
| |
| </html> |