|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | +<meta charset="UTF-8"> |
| 5 | +<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | +<title>BloxProxy</title> |
| 7 | + |
| 8 | +<script src="/sail/baremux/index.js"></script> |
| 9 | +<script src="/sail/scram/scramjet.all.js"></script> |
| 10 | +<script> |
| 11 | +navigator.serviceWorker.register("/sail/sw.js") |
| 12 | +</script> |
| 13 | + |
| 14 | +<style> |
| 15 | +body{margin:0;background:#07111f;color:#e8f1ff;font-family:Segoe UI;height:100vh;display:flex;flex-direction:column;overflow:hidden} |
| 16 | +.top{padding:10px;background:#0b1729;border-bottom:1px solid #21406d} |
| 17 | +.tabs{display:flex;gap:6px;overflow:auto} |
| 18 | +.tab{padding:8px 14px;background:#10233d;border-radius:10px;color:#8aa3c7;cursor:pointer} |
| 19 | +.tab.active{background:#163055;color:#fff} |
| 20 | +.bar-wrap{display:flex;gap:8px;margin-top:8px} |
| 21 | +input{flex:1;background:#0b1729;border:1px solid #21406d;color:#fff;padding:8px;border-radius:8px} |
| 22 | +button{background:#163055;border:none;color:#fff;padding:8px 12px;border-radius:8px;cursor:pointer} |
| 23 | +#bookmarks{display:flex;gap:6px;margin-top:8px;overflow:auto} |
| 24 | +.bookmark{background:#10233d;padding:6px 10px;border-radius:999px;cursor:pointer} |
| 25 | +iframe{position:absolute;width:100%;height:100%;border:none;display:none} |
| 26 | +iframe.active{display:block} |
| 27 | +#view{flex:1;position:relative} |
| 28 | +.menu{position:absolute;right:10px;top:50px;background:#0b1729;border:1px solid #21406d;border-radius:10px;display:none} |
| 29 | +.menu button{display:block;width:100%;text-align:left} |
| 30 | +</style> |
| 31 | +</head> |
| 32 | + |
| 33 | +<body> |
| 34 | + |
| 35 | +<div class="top"> |
| 36 | + <div class="tabs" id="tabs"></div> |
| 37 | + |
| 38 | + <div class="bar-wrap"> |
| 39 | + <button onclick="back()">←</button> |
| 40 | + <button onclick="forward()">→</button> |
| 41 | + <button onclick="refresh()">↻</button> |
| 42 | + <input id="bar" placeholder="Search or URL"> |
| 43 | + <button onclick="go()">GO</button> |
| 44 | + <button onclick="toggleMenu()">⋯</button> |
| 45 | + </div> |
| 46 | + |
| 47 | + <div id="bookmarks"></div> |
| 48 | +</div> |
| 49 | + |
| 50 | +<div id="view"></div> |
| 51 | + |
| 52 | +<div class="menu" id="menu"> |
| 53 | + <button onclick="openPage('/proxy/history/')">History</button> |
| 54 | + <button onclick="openPage('/proxy/settings/')">Settings</button> |
| 55 | +</div> |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | +</body> |
| 60 | +</html> |
0 commit comments