Skip to content

Commit

Permalink
Add pages to describe Script Compatibility Mode
Browse files Browse the repository at this point in the history
- Add description for Script Compatibility Mode on App Settings page
- Add Script Compatibility Mode page to track versions and changes
  • Loading branch information
jmjavier authored Aug 19, 2021
2 parents 27000f1 + c52bac0 commit 57660f1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _posts/2020-03-03-app-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [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.
16 changes: 16 additions & 0 deletions _posts/2021-08-18-script-compatibility-mode.md
Original file line number Diff line number Diff line change
@@ -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.


0 comments on commit 57660f1

Please sign in to comment.