From f4b65a4b89735b0d729b0cfb3f90e54cce519913 Mon Sep 17 00:00:00 2001 From: wareya Date: Wed, 14 Aug 2019 23:19:55 -0400 Subject: [PATCH] make json blacklist feature work with pure kana --- background-script.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/background-script.js b/background-script.js index 89060d2..b97f9b8 100644 --- a/background-script.js +++ b/background-script.js @@ -996,7 +996,11 @@ function json_lookup_kana_exact(dict, kana) { let spellings = dict.entries[index]["s"] if(spellings.length == 1 && spellings[0] === "") + { + if(exclude.includes(kana)) + continue; actual_possibilities.push(index); + } else { for(let spelling of spellings)