| 1 | <html lang="en"> |
| 2 | <head> |
| 3 | <meta charset="utf-8" /> |
| 4 | <script type="application/javascript" src="../../../src/htmx.js"></script> |
| 5 | <script type="application/javascript" src="../../../src/ext/restored.js"></script> |
| 6 | <title>Restored - Index</title> |
| 7 | <script> |
| 8 | //htmx.logAll(); |
| 9 | </script> |
| 10 | |
| 11 | </head> |
| 12 | <body style="padding:20px;font-family: sans-serif" hx-boost="true"> |
| 13 | <h1>Restored Test</h1> |
| 14 | <p>Every popstate event on this page should display a success message below.</p> |
| 15 | <p id="message" |
| 16 | hx-ext="restored" |
| 17 | hx-trigger="restored" |
| 18 | hx-get="success.html" |
| 19 | ></p> |
| 20 | <a href="1.html">1</a> |
| 21 | <a href="2.html">2</a> |
| 22 | <a href="3.html">3</a> |
| 23 | <a href="4.html">4</a> |
| 24 | <h3>2</h3> |
| 25 | </body> |
| 26 | </html> |