-
Notifications
You must be signed in to change notification settings - Fork 0
/
replaces.html
102 lines (87 loc) · 3.43 KB
/
replaces.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UniSerialReplaces 連続置換機ツール</title>
<link rel="stylesheet" href="replaces.css">
</head>
<body>
<h1>UniSerialReplaces 連続置換機ツール</h1>
<div id="replaceContainer">
</div>
<button id="addPair">+</button>
<button id="removePair">-</button>
<div>
<div class="file-upload-container">
<input type="file" id="fileInput" />
</div>
<textarea id="originalText" rows="5" placeholder=""></textarea>
↓
<textarea id="resultText" rows="5" readonly placeholder=""></textarea>
</div>
<div class="statics">
<div>文字数:
<span id="countCharacterBefore"></span>→
<span id="countCharacterAfter"></span>
(<span id="countCharacterDiff"></span>)
</div>
<div>半角?:
<span id="countQuestionBefore"></span>→
<span id="countQuestionAfter"></span>
(<span id="countQuestionDiff"></span>)
</div>
<div>全角?:
<span id="countFullWidthQuestionBefore"></span>→
<span id="countFullWidthQuestionAfter"></span>
(<span id="countFullWidthQuestionDiff"></span>)
</div>
<div>改行\n:
<span id="countNewLineBefore"></span>→
<span id="countNewLineAfter"></span>
(<span id="countNewLineDiff"></span>)
</div>
<div>改行\r:
<span id="countReturnBefore"></span>→
<span id="countReturnAfter"></span>
(<span id="countReturnDiff"></span>)
</div>
<div>全角(:
<span id="countFullwidthLeftParenthesisBefore"></span>→
<span id="countFullwidthLeftParenthesisAfter"></span>
(<span id="countFullwidthLeftParenthesisDiff"></span>)
</div>
<div>全角):
<span id="countFullwidthRightParenthesisBefore"></span>→
<span id="countFullwidthRightParenthesisAfter"></span>
(<span id="countFullwidthRightParenthesisDiff"></span>)
</div>
<div>半角(:
<span id="countLeftParenthesisBefore"></span>→
<span id="countLeftParenthesisAfter"></span>
(<span id="countLeftParenthesisDiff"></span>)
</div>
<div>半角):
<span id="countRightParenthesisBefore"></span>→
<span id="countRightParenthesisAfter"></span>
(<span id="countRightParenthesisDiff"></span>)
</div>
<div> <div>:
<span id="countStartDivTagBefore"></span>→
<span id="countStartDivTagAfter"></span>
(<span id="countStartDivTagDiff"></span>)
</div>
<div> </div>:
<span id="countEndDivTagBefore"></span>→
<span id="countEndDivTagAfter"></span>
(<span id="countEndDivTagDiff"></span>)
</div>
</div>
<div class="note">
<div>※ 置換対象の入力データは、ブラウザのローカルストレージに保存されます。</div>
<div>※ 共用のパソコンを使用し見られたくない文章の場合、入力データは忘れずに消してください。</div>
</div>
<a href="index.html">何も無いindex.html</a>
<script src="replaces.js"></script>
</body>
</html>