-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbookmarklet.html
62 lines (60 loc) · 1.93 KB
/
bookmarklet.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<script src="bookmarklet.js"></script>
<style>
* {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}
a.bookmarlet{
cursor: move; /* fallback if grab cursor is unsupported */
cursor: grab;
cursor: -moz-grab;
cursor: -webkit-grab;
}
a.bookmarlet span{
display:none;
}
a.bookmarlet:before{
display:inline-block;
content: "☰ Przeciągnij mnie na pasek zakładek";
padding:20px;
}
</style>
</head>
<body class="p-3">
<div class="p-3 form d-none">
<div class="container">
<form>
<div class="form-group mb-3">
<label for="label">Etykieta</label>
<input name="label" type="text" class="form-control" />
</div>
<div class="form-group mb-3">
<textarea name="code" class="form-control"></textarea>
</div>
<a name="submit" target="_blank" type="button" class="btn btn-primary"></a>
</form>
</div>
</div>
<div class="bookmarklet-wrapper text-center">
</div>
</body>
</html>