Debian Codegraph @

www/public/test/manual/history_safari_ios_bug/page2.html

raw symbols SCIP
1 <html lang="en">
2 <head>
3 <meta charset="utf-8" />
4 <script type="application/javascript" src="../../../src/htmx.js"></script>
5 <title>History - Regression 2 Page 1</title>
6 <script>
7 htmx.on("htmx:beforeHistorySave", function(evt){
8 console.log("Saving history : ", evt.detail);
9 console.log("History Cache Before:", JSON.parse(sessionStorage.getItem("htmx-history-cache")))
10 setTimeout(function () {
11 console.log("History Cache After:", JSON.parse(sessionStorage.getItem("htmx-history-cache")))
12 }, 10);
13 })
14 </script>
15 </head>
16 <body style="padding:20px;font-family: sans-serif">
17
18 <h1>Page 2, Issues An HTMX Request For Page 3</h1>
19
20 <button hx-target="body" hx-get="page3.html" hx-push-url="true" hx-trigger="click delay:2s">Load Page 3</button>
21 </body>
22
23 </html>