-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
101 lines (88 loc) · 2.85 KB
/
test.html
File metadata and controls
101 lines (88 loc) · 2.85 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html>
<head>
<title>Extension Test Page</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 30px;
line-height: 1.6;
max-width: 800px;
background: #121212;
color: #e0e0e0;
}
.card {
border: 1px solid #333;
border-radius: 8px;
margin-bottom: 20px;
background: #1e1e1e;
padding: 0;
transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
transform: translateY(-2px);
}
.card summary {
cursor: pointer;
padding: 15px;
font-size: 18px;
font-weight: 600;
list-style: none;
}
.card[open] > summary {
border-bottom: 1px solid #333;
margin-bottom: 10px;
}
.card .content {
padding: 0 15px 15px 15px;
}
h1 {
color: #e0e0e0;
}
code {
background-color: #2d2d2d;
padding: 2px 5px;
border-radius: 3px;
color: #f0f0f0;
}
</style>
</head>
<body>
<h1>ChatGPT Screenshot Uploader Test Page</h1>
<details class="card" open>
<summary>Hotkey Test</summary>
<div class="content">
<p>Press <code>Ctrl+Shift+Y</code> (Windows) or <code>Command+Shift+Y</code> (Mac) on this page to test the
screenshot functionality.</p>
<p>If it works, ChatGPT should open with this page as a screenshot.</p>
</div>
</details>
<details class="card">
<summary>Troubleshooting</summary>
<div class="content">
<p>If the hotkey doesn't work:</p>
<ol>
<li>Open Chrome's extension page: <code>chrome://extensions</code></li>
<li>Find this extension and click on "Details"</li>
<li>Check "Allow in Incognito" if you're trying to use it there</li>
<li>Make sure "Site access" is set appropriately</li>
<li>Click "Extension options" and verify shortcuts</li>
<li>Try clicking the extension icon in the toolbar (should also work)</li>
</ol>
</div>
</details>
<details class="card">
<summary>Console Output</summary>
<div class="content">
<p>Check Chrome's DevTools console for the extension by:</p>
<ol>
<li>Go to <code>chrome://extensions</code></li>
<li>Enable "Developer mode" (top right)</li>
<li>Click on "background page" link under this extension</li>
<li>Look for debug messages in the console</li>
</ol>
</div>
</details>
</body>
</html>