Skip to content

Commit d5f41ea

Browse files
authored
Create index.html
1 parent 7c2f708 commit d5f41ea

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

proxy/history/index.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>History</title>
5+
<style>
6+
body{background:#07111f;color:#fff;font-family:sans-serif;padding:20px}
7+
.item{padding:10px;background:#10233d;margin:5px 0;border-radius:8px}
8+
</style>
9+
</head>
10+
<body>
11+
12+
<h2>History</h2>
13+
<div id="list"></div>
14+
15+
<script>
16+
const h=JSON.parse(localStorage.getItem("bloxproxy_history")||"[]")
17+
const list=document.getElementById("list")
18+
19+
h.forEach(x=>{
20+
const d=document.createElement("div")
21+
d.className="item"
22+
d.innerText="https://"+x.url.replace(/^https?:\/\//,"")
23+
list.appendChild(d)
24+
})
25+
</script>
26+
27+
</body>
28+
</html>

0 commit comments

Comments
 (0)