aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--readme.md30
-rw-r--r--yomichan-user/conf.d/handwriting.css.m41
-rw-r--r--yomichan-user/conf.d/handwriting.js24
m---------yomichan-user/lib/handwriting.js0
-rw-r--r--yomichan-user/makefile4
-rw-r--r--yomichan-user/readme.md7
-rw-r--r--yomichan/readme.md2
7 files changed, 11 insertions, 57 deletions
diff --git a/readme.md b/readme.md
index 3cbcc00..c2e7b5b 100644
--- a/readme.md
+++ b/readme.md
@@ -4,26 +4,14 @@ this is a repo with refold language learning stuff (primarily japanese):
- [anki sentence mining card template](anki-card-template/)
- [bulk audio adder](bulk-audio/)
-- [yomichan user.js patch](yomichan/)
-- [yomichan stuff](yomichan-user/)
- (custom theme, sentence export/copy button plugin)
-## todo
-
-- yomichan handwriting popup/input like in google translate using
- [handwriting.js](https://github.com/ChenYuHo/handwriting.js)
-- edit(/add?) generated readings in yomichan
-- add dictionary items to yomichan
-- blacklist dictionary items from affecting generated readings
-- standalone yomichan server/api (yomichan is deprecated and will stop working
- once manifest v2 support is removed from chromium)
-
-i'm not sure if i'll find the motivation or time to work on a standalone
-yomichan-type server, but if i do, it's the first thing on this list i'll
-likely attempt to implement as yomichan is being deprecated. existing hacks in
-this repo are focused primarily on improving my sentence mining workflow, but
-yomichan is primarily a lookup dictionary, with automatic anki card generation
-kind of shoehorned in. a rewritten frontend with separate modes for popup
-dictionary lookups, full dictionary lookups and sentence mining would be
-better.
+no longer maintained:
+> - ~[yomichan user.js patch](yomichan/)~ (OBSOLETE)
+> - [yomichan stuff](yomichan-user/)
+> (custom theme, ~sentence export/copy button plugin~)
+>
+> a lot of shit broke or is no longer possible to implement with the APIs
+> present in manifest v3. i've decided to simplify my sentence mining workflow
+> instead of creating yet another overengineered and opinionated solution that
+> works with mv3.
diff --git a/yomichan-user/conf.d/handwriting.css.m4 b/yomichan-user/conf.d/handwriting.css.m4
deleted file mode 100644
index 6b3727b..0000000
--- a/yomichan-user/conf.d/handwriting.css.m4
+++ /dev/null
@@ -1 +0,0 @@
-.icon[data-icon=draw] { --icon-image: url`(data:image/svg+xml;base64,'undivert(draw.svg.b64)`)'; }
diff --git a/yomichan-user/conf.d/handwriting.js b/yomichan-user/conf.d/handwriting.js
deleted file mode 100644
index 7e63224..0000000
--- a/yomichan-user/conf.d/handwriting.js
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-
-function patchSearchBar() {
- var searchBarOuter = document.getElementsByClassName("search-textbox-container")[0];
- var button = document.createElement("button");
- button.id = "handwriting-input-toggle";
- button.classList.add("search-button");
- button.onclick = () => console.log("AAAA");
- var icon = document.createElement("span");
- icon.classList.add("icon");
- icon.setAttribute("data-icon", "draw");
- button.appendChild(icon);
- searchBarOuter.insertBefore(button, searchBarOuter.childNodes[2]);
-}
-
-(() => {
- if (document.body.classList.contains("handwriting-patched")) return;
-
- patchSearchBar();
-
- document.body.classList.add("handwriting-patched");
-})();
-
-}
diff --git a/yomichan-user/lib/handwriting.js b/yomichan-user/lib/handwriting.js
deleted file mode 160000
-Subproject 6d41109d3293295a7d7678d0cb97f483d28f47e
diff --git a/yomichan-user/makefile b/yomichan-user/makefile
index c4cf026..e0a3ea8 100644
--- a/yomichan-user/makefile
+++ b/yomichan-user/makefile
@@ -8,7 +8,6 @@ CSSMIN := uglifycss
all: yomichan-user.js yomichan-user.css
user.js: conf.d/lib.js
-user.js: lib/handwriting.js/handwriting.canvas.js
user.js: conf.d/sentence-export.js
user.css: conf.d/sentence-export.css
@@ -16,8 +15,6 @@ user.css: conf.d/custom.css
user.js: conf.d/word-export.js
user.css: conf.d/word-export.css
user.js: conf.d/shortcuts.js
-user.js: conf.d/handwriting.js
-user.css: conf.d/handwriting.css
include ../common.mk
@@ -32,7 +29,6 @@ GARBAGE += assets/draw.svg.b64
conf.d/sentence-export.css: assets/copy.svg.b64
conf.d/sentence-export.css: conf.d/sentence-export.css.m4
conf.d/word-export.css: assets/copy-bitmap.svg.b64
-conf.d/handwriting.css: assets/draw.svg.b64
user.js:
cat $^ > $@
diff --git a/yomichan-user/readme.md b/yomichan-user/readme.md
index 50f9423..2ebf707 100644
--- a/yomichan-user/readme.md
+++ b/yomichan-user/readme.md
@@ -1,4 +1,4 @@
-# yomichan stuff
+# yomichan stuff (OBSOLETE)
this is a folder containing yomichan stuff
@@ -36,8 +36,3 @@ adds the following shortcuts to yomichan:
|<kbd>Alt</kbd>+<kbd>K</kbd>|select previous definition (move up)|
|<kbd>Alt</kbd>+<kbd>G</kbd>|scroll back to top|
-## handwriting
-
-adds handwriting input panel to yomichan (WIP)
-
-
diff --git a/yomichan/readme.md b/yomichan/readme.md
index 97f9904..f8889fa 100644
--- a/yomichan/readme.md
+++ b/yomichan/readme.md
@@ -1,4 +1,4 @@
-# yomichan patch stuff
+# yomichan patch stuff (OBSOLETE)
adds a user.js script to your config and settings page that runs in the search
page and popup window.