-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
77 lines (70 loc) · 1.89 KB
/
popup.html
File metadata and controls
77 lines (70 loc) · 1.89 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
<!DOCTYPE html>
<html>
<head>
<style>
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@500&family=Open+Sans:wght@700&display=swap");
body {
width: 300px;
height: 250px;
padding: 10px;
font-family: "Lexend", sans-serif;
background: rgb(86, 45, 133);
color: white;
text-align: center
}
textarea {
width: 100%;
font-family: "Lexend", sans-serif;
height: 100px;
resize: none;
margin-bottom: 10px;
padding: 2px;
background: transparent;
border-bottom: 4px solid white;
border-top: 0px;
border-left: 0px;
border-right: 0px;
color: white;
}
textarea:focus {
outline: none;
}
button {
padding: 5px 10px;
margin-bottom: 11px;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: rgb(193, 193, 193);
opacity: 1; /* Firefox */
}
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: none;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: rgb(255, 255, 255);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: rgb(132, 130, 130);
}
</style>
</head>
<body>
<img src = "./biggies.png" width = 100>
<h1>PocketAI</h3>
<p>Enter the text to detect AI in your writing (8000 word limit). Wait 2-3 seconds for results to load. </p>
<textarea
id="inputText"
maxlength="8000"
placeholder="Enter your text here...."
></textarea>
<button id="detectButton">Start AI Detection</button>
<div id="result">Click the button above to see your results! The lower the score, the lower chance of AI being detected!</div>
<br>
</body>
<script src="popup.js"></script>
</html>