Add a built in reader page with a clipboard hook

This commit is contained in:
wareya committed 2017-12-12 18:53:17 -05:00
1 parent a04abfde27
commit 41cc30b9f1
7 files changed
+211 -34

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
<html>
<head>
<title>Text Grabber</title>
<style>
body
{
background-color: #111;
color: #CCC;
font-family: Verdana, Arial, IPAGothic, TakaoGothic, Noto Sans CJK JP Regular, Meiryo, sans-serif;
font-size: 1.4em;
}
html
{
overflow-y: scroll;
}
</style>
<script src="reader.js"></script>
</head>
<body lang="ja">
<p id="helptext"><i>This page grabs from the clipboard automatically if it contains Japanese text. If this page is not opened, Nazeka will never access the clipboard.</i></p>
<p><i>Use the context menu (right click the page) to toggle Nazeka.</i></p>
<div style="position:absolute;visibility:hidden"><textarea id="nazeka-paste-target"></textarea></div>
</body>
</html>