Spaces:
Sleeping
Sleeping
Download index.html from danielgaskins/kstore-amazon: direct link, hf CLI and curl.
- Browser
- Download file 1.39 kB
-
https://huggingface.co/spaces/danielgaskins/kstore-amazon/resolve/main/index.html
- Command line
-
hf download hf://spaces/danielgaskins/kstore-amazon/index.html
-
curl -L -o index.html https://huggingface.co/spaces/danielgaskins/kstore-amazon/resolve/main/index.html
1.39 kB
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1"> | |
| <title>Amazon VRP Kindle Store validation</title> | |
| <style> | |
| body{font:18px sans-serif;padding:24px;background:#fff;color:#111} | |
| pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:#eee} | |
| </style> | |
| <h1>Amazon VRP validation page</h1> | |
| <pre id="result">Running bounded bridge checks…</pre> | |
| <script> | |
| (() => { | |
| const result = { | |
| marker: "KSTORE_HOST_BOUNDARY_20261117", | |
| origin: location.origin, | |
| nativeHostPresent: typeof NativeHost !== "undefined", | |
| storeWebViewPresent: typeof StoreWebView !== "undefined" | |
| }; | |
| if (result.nativeHostPresent) { | |
| try { result.accessibilityEnabled = NativeHost.getAccessibilityStatus(); } | |
| catch (e) { result.accessibilityError = String(e); } | |
| try { result.syntheticContentOwned = NativeHost.isContentOnDevice("B000000000", "EBOK"); } | |
| catch (e) { result.contentError = String(e); } | |
| try { | |
| NativeHost.showNotificationDialog( | |
| "Amazon VRP safe validation", | |
| "A researcher-controlled HTTPS origin invoked the Kindle Store bridge. No purchase, download, or account change was attempted." | |
| ); | |
| result.dialogInvoked = true; | |
| } catch (e) { result.dialogError = String(e); } | |
| } | |
| document.getElementById("result").textContent = JSON.stringify(result, null, 2); | |
| })(); | |
| </script> | |