-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
46 lines (43 loc) · 2.64 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<title>Bookmarklet Maker</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/style.css">
<script src="https://cdn.jsdelivr.net/gh/garfieldius/Browser-UglifyJS/build/uglifyjs.1.2.5.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/csso/dist/csso.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div id="websiteTitle" class="title"><div class="letter">B</div><div class="letter">o</div><div class="letter">o</div><div class="letter">k</div><div class="letter">m</div><div class="letter">a</div><div class="letter">r</div><div class="letter">k</div><div class="letter">l</div><div class="letter">e</div><div class="letter">t</div><div class="letter"> </div><div class="letter">M</div><div class="letter">a</div><div class="letter">k</div><div class="letter">e</div><div class="letter">r</div>
</div>
<div class="main">
<div class="maker">
<div class="sectionTitle">Editor</div>
<input spellcheck="false" id="buttonTitle" placeholder="Button title" class="text-input">
<input spellcheck="false" id="bookmarkletTitle" placeholder="Bookmarklet title (on the bookmarks bar)" class="text-input">
<div id="javascript" placeholder="Javascript URLs"></div>
<div id="css" placeholder="CSS URLs"></div>
<textarea spellcheck="false" id="code" placeholder="Javascript" class="textarea"></textarea>
<textarea spellcheck="false" id="style" placeholder="CSS" class="textarea"></textarea>
</div>
<div class="result">
<div class="sectionTitle">Result</div>
<div class="resultButton"><span id="resultButtonText" class="resultButtonText">Bookmarklet</span><a id="resultLink" class="resultLink">Bookmarklet</a></div>
<div class="textareaMain">
<textarea readonly spellcheck="false" id="resultCode" placeholder="Bookmarklet code" class="textarea"></textarea>
<div class="copyText">Copied!</div>
<div hidden onclick="copy(this)" class="copy material-symbols-outlined">content_copy</div>
</div>
<div class="textareaMain">
<textarea readonly spellcheck="false" id="buttonCode" placeholder="Button code" class="textarea"></textarea>
<div class="copyText">Copied!</div>
<div hidden onclick="copy(this)" class="copy material-symbols-outlined">content_copy</div>
</div>
</div>
</div>
<script src="/index.js"></script>
</body>
</html>