-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·60 lines (54 loc) · 2.33 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- for Google -->
<meta name="description" content="Line Breaker" />
<meta name="keywords" content="Facebook, line break, new line, whitespace, invisible, zero-width space, space" />
<meta name="author" content="Puripant Ruchikachorn" />
<!-- for Facebook -->
<meta property="og:title" content="Line Breaker" />
<meta property="og:type" content="article" />
<meta property="og:image" content="http://puripant.ruchikachorn.com/line-breaker/screenshot.png" />
<meta property="og:url" content="http://puripant.ruchikachorn.com/line-breaker/" />
<meta property="og:description" content="Insert zero-width spaces between line breaks for social media post" />
<!-- for Twitter -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Line Breaker" />
<meta name="twitter:description" content="Insert zero-width spaces between line breaks for social media post" />
<meta name="twitter:image" content="http://puripant.ruchikachorn.com/line-breaker/screenshot.png" />
<title>Line Breaker</title>
<link href="main.css" rel="stylesheet">
</head>
<body>
<div class="wrapper">
<div class="title">
<div class="justify">F a c e b o o k,</div>
<div class="justify">l e a v e</div>
<div class="justify">w h i t e s p a c e</div>
<div class="justify">a l o n e !</div>
</div>
<div class="text">
<ol>
<li>Write or copy your text into the text box.</li>
<li>Click the MAGIC button to sprinkle (literally) invisible characters.</li>
<li>(Text already copied.)<br />Paste the text to a social media platform.</li>
</ol>
</div>
<div id="box">
<textarea rows="10" cols="32" autofocus required placeholder="My viral post starts with …"></textarea>
<div class="button justify noselect" onclick="magic()">M a g i c ✨</div>
</div>
<div class="text">
<p>
Or simply click the MAGIC button to copy the invisible character (zero-width space)
and manually paste it between new lines.
</p>
<p>
Code available at <a href="https://github.com/puripant/line-breaker">https://github.com/puripant/line-breaker</a>
</p>
</div>
</div>
<script src="main.js"></script>
</body>
</html>