-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbrings.html
78 lines (77 loc) · 1.74 KB
/
brings.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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>help</title>
<style>
body{
background-color: #222;
color: #eee;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
padding: 20px;
font-size: 20px;
letter-spacing: -0.5px
}
code{
font-family: "JetBrains Mono", ui-monospace, menlo, monospace;
font-size: 30px;
text-decoration: underline;
}
</style>
</head>
<body>
<a href="/index.html" onclick="history.back()">«return</a>
<script>
var docs=`
click on messages to remove them.
#commandName [option] [optional option]?
(format)
#add
Make a new bring!
#ama [query]
Amazon search
#clog [text]
Log to console (testing)
#d [query]
DuckDuckGo search
#date
Displays the current date
#forecast [location]?
Weather forecast at specified/current location (using wttr.in)
#g [query]
Google search
#gh [query]
GitHub search
#go [URL]
Open url
#help
Links to here
#how [query]
WikiHow search
#mdn [query]
MDN (Mozilla Developer Network) search
#new [thing]
Goes to the URL [thing].new, works with things like "repo", "sheets" and "docs"
#popup [text]
Creates a popup with some text (testing)
#save [text]?
If text is given save it, else display the text
#show [text]
Displays text (testing)
#time
Displays the current time
#w [query]
Wikipedia search/open article
#weather [location]?
Current weather at specified/current location (using wttr.in)
#x [???]
Used for testing text
#yt [query]
YouTube search
`.slice(1,-1)
document.write(docs.replace(/#(.*)/g, "<br><br><code>$1</code><br>"))
</script>
</body>
</html>