-
Notifications
You must be signed in to change notification settings - Fork 1
/
privacypolicy.html
60 lines (54 loc) · 2.17 KB
/
privacypolicy.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
<!DOCTYPE html>
<html>
<head>
<base target="_top">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"
rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous">
</script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
</head>
<body class="bg-body">
<div class="m-1">
<p class="text-secondary">
We DO NOT store your input text or any sensitive data (e.g., name, email
address, IP address, or location). All prompts are directly sent to external
LLM APIs such as Google Gemini Pro and OpenAI GPT 4. We only store community-shared
prompts and the number of times a prompt is run.
</p>
<button type="button" id="accept" class="btn btn-secondary btn-sm me-1">
<span class="spinner-border spinner-border-sm" id="accept-spinner" style="display: none"
aria-hidden="true">
</span>
Okay
</button>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
<script>
$(function() {
$("#accept").click(function() {
beginLoading("accept", "accept-spinner");
google.script.run.withSuccessHandler(function() {
endLoading("accept", "accept-spinner");
google.script.host.close();
google.script.host.editor.focus();
}).setPrivacyAcceptance();
})
})
function beginLoading(buttonId, loadingId) {
$("#" + loadingId).show();
$("#" + buttonId).attr('disabled', 'disabled');
}
function endLoading(buttonId, loadingId, iconId) {
$("#" + loadingId).hide();
$("#" + buttonId).removeAttr('disabled');
}
</script>
</body>
</html>