-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
78 lines (78 loc) · 2.75 KB
/
popup.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title id="extension_name"></title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
color: #fff;
background: linear-gradient(135deg, #000, #434343);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
width: 350px;
}
.container {
background: rgba(0, 0, 0, 0.7);
padding-top: 20px;
padding-bottom: 20px;
border-radius: 10px;
width: 100%;
max-width: 800px;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.quicksum {
color: #4e9169;
text-decoration: underline;
}
h1 {
font-size: 14px;
margin-bottom: 20px;
text-align: center;
}
ol {
line-height: 1.6;
padding-right: 20px;
}
img {
display: block;
margin: 20px auto;
max-width: 100%;
border-radius: 10px;
}
a {
color: #1e90ff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
code {
background: rgba(255, 255, 255, 0.1);
padding: 2px 4px;
border-radius: 4px;
}
</style>
</head>
<body>
<div class="container">
<img src="flode.png" alt="Guide Image">
<h1 id="guide_title"></h1>
<ol>
<li><strong id="install_chrome_canary"></strong>: <span id="install_chrome_canary_detail"></span><a id="download_chrome_canary" href="https://google.com/chrome/canary/" target="_blank"></a>.</li>
<li><strong id="enable_prompt_api"></strong>: <span id="enable_prompt_api_detail"></span><code>chrome://flags/#prompt-api-for-gemini-nano</code>, <span id="enable_prompt_api_flag"></span></li>
<li><strong id="enable_optimization_guide"></strong>: <span id="enable_optimization_guide_detail"></span><code>chrome://flags/#optimization-guide-on-device-model</code>, <span id="enable_optimization_guide_flag"></span></li>
<li><strong id="download_model"></strong>: <span id="download_model_detail"></span><code>chrome://components/</code>, <span id="download_model_instruction"></span><span id="check_for_update"></span>.</li>
<li><strong id="troubleshoot"></strong>: <span id="troubleshoot_detail"></span></li>
</ol>
</div>
<script src="popup.js"></script>
</body>
</html>