-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (40 loc) · 1006 Bytes
/
index.html
File metadata and controls
41 lines (40 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Albert</title>
<link rel="stylesheet" href="index.css" />
</head>
<body>
<div>
<webview id="webview" src="https://chat.openai.com/chat" autosize="on" />
</div>
</body>
<script>
const webview = document.getElementById('webview');
webview.addEventListener('dom-ready', () => {
webview.insertCSS(`
.text-xs.text-center {
opacity: 0;
height: 0;
margin-bottom: -10px;
}
.sticky,
.pointer-events-auto.flex.border-orange-500,
[class*="shared__Capabilities"] {
display: none !important;
}
[class*="shared__Wrapper"] {
align-items: center;
justify-content: center;
text-align: center;
margin-top: 15vh;
}
[class*="shared__Wrapper"] h3 {
margin-top: -40px;
font-size: 25px;
}
`)
});
</script>
</html>