From 8c042bf22f3d90efb85a4a1ce76d5f2c072fcdf6 Mon Sep 17 00:00:00 2001 From: Javi Javier Date: Wed, 18 Aug 2021 14:59:03 -0700 Subject: [PATCH 1/3] add articles to describe script compatibility --- _posts/2020-03-03-app-settings.md | 2 ++ _posts/2021-08-18-user-scripts.md | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 _posts/2021-08-18-user-scripts.md diff --git a/_posts/2020-03-03-app-settings.md b/_posts/2020-03-03-app-settings.md index aac9e7b4f..ae8ad3817 100644 --- a/_posts/2020-03-03-app-settings.md +++ b/_posts/2020-03-03-app-settings.md @@ -27,3 +27,5 @@ Another setting you can choose is ‘shuffled’, meaning all new lessons regard You can also choose ‘ascending level then shuffled’ which means previous level lessons will be shown first, but the subjects (radicals, kanji, vocabulary) will be shuffled. **Lessons & review counts email update frequency:** Here you can choose how often you want to be emailed about your latest lessons and review count: daily, semiweekly, or weekly. Note that this is not a live notification of when you get new lessons or reviews. + +**Script Compatibility Mode:** Turn this on if you're having issues with your custom userscripts. Details on what's covered by script compatibility mode are on the [User Scripts page](/wanikani/user-scripts). For most users, we recommend leaving Script Compatibility Mode off to make sure you get the latest improvements in WaniKani. diff --git a/_posts/2021-08-18-user-scripts.md b/_posts/2021-08-18-user-scripts.md new file mode 100644 index 000000000..ff06bbfdc --- /dev/null +++ b/_posts/2021-08-18-user-scripts.md @@ -0,0 +1,16 @@ +--- +date: 2021-08-18 +title: Script Compatibility Mode +categories: + - wanikani +description: +type: Document +--- + +Turning on Script Compatibility Mode disables these changes. +Scripts can check WaniKani's version by checking `window.WaniKani.version`. + +**v0.0.1 (August 18, 2021)** Lesson tabs (ex. Kanji Composition, Meaning, Reading, etc.) are now rendered with React. Previously tabs were written to the DOM and just hidden and displayed with CSS. +With React tabs that are not visible are removed from the DOM. Scripts that modify tabs have to wait for React to finish rendering the tab. + + From 301bd2030d6fcdf907424e3d5340e0ba13fce315 Mon Sep 17 00:00:00 2001 From: Javi Javier Date: Wed, 18 Aug 2021 15:07:09 -0700 Subject: [PATCH 2/3] rename page --- _posts/2020-03-03-app-settings.md | 2 +- ...-user-scripts.md => 2021-08-18-script-compatibility-mode.md} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename _posts/{2021-08-18-user-scripts.md => 2021-08-18-script-compatibility-mode.md} (100%) diff --git a/_posts/2020-03-03-app-settings.md b/_posts/2020-03-03-app-settings.md index ae8ad3817..94a273f4c 100644 --- a/_posts/2020-03-03-app-settings.md +++ b/_posts/2020-03-03-app-settings.md @@ -28,4 +28,4 @@ You can also choose ‘ascending level then shuffled’ which means previous lev **Lessons & review counts email update frequency:** Here you can choose how often you want to be emailed about your latest lessons and review count: daily, semiweekly, or weekly. Note that this is not a live notification of when you get new lessons or reviews. -**Script Compatibility Mode:** Turn this on if you're having issues with your custom userscripts. Details on what's covered by script compatibility mode are on the [User Scripts page](/wanikani/user-scripts). For most users, we recommend leaving Script Compatibility Mode off to make sure you get the latest improvements in WaniKani. +**Script Compatibility Mode:** Turn this on if you're having issues with your custom userscripts. Details on what's covered by script compatibility mode are on the [Script Compatibility page](/wanikani/script-compatibility). For most users, we recommend leaving Script Compatibility Mode off to make sure you get the latest improvements in WaniKani. diff --git a/_posts/2021-08-18-user-scripts.md b/_posts/2021-08-18-script-compatibility-mode.md similarity index 100% rename from _posts/2021-08-18-user-scripts.md rename to _posts/2021-08-18-script-compatibility-mode.md From c52bac01a470903782299771e1bccd196d43b9c3 Mon Sep 17 00:00:00 2001 From: Javi Javier Date: Wed, 18 Aug 2021 15:17:34 -0700 Subject: [PATCH 3/3] fix link --- _posts/2020-03-03-app-settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2020-03-03-app-settings.md b/_posts/2020-03-03-app-settings.md index 94a273f4c..ddeb646f1 100644 --- a/_posts/2020-03-03-app-settings.md +++ b/_posts/2020-03-03-app-settings.md @@ -28,4 +28,4 @@ You can also choose ‘ascending level then shuffled’ which means previous lev **Lessons & review counts email update frequency:** Here you can choose how often you want to be emailed about your latest lessons and review count: daily, semiweekly, or weekly. Note that this is not a live notification of when you get new lessons or reviews. -**Script Compatibility Mode:** Turn this on if you're having issues with your custom userscripts. Details on what's covered by script compatibility mode are on the [Script Compatibility page](/wanikani/script-compatibility). For most users, we recommend leaving Script Compatibility Mode off to make sure you get the latest improvements in WaniKani. +**Script Compatibility Mode:** Turn this on if you're having issues with your custom userscripts. Details on what's covered by script compatibility mode are on the [Script Compatibility page](/wanikani/script-compatibility-mode). For most users, we recommend leaving Script Compatibility Mode off to make sure you get the latest improvements in WaniKani.