Automatically normalizes Duolingo answers.
Duolingo Unicode Normalizer Extension
Duolingo expects answers to be NFC-normalized strings (see the Unicode Normalization FAQ here: http://unicode.org/faq/normalization.html).
But, depending on the input method, those values may contain decomposed characters, making them internally different from their normalized versions.
For example, the Vietnamese word một (one) can be written in (at least) 3 different ways:
một : m \\u1ED9 t (NFC)
một : m \\u00F4 \\u0323 t (VN keyboard)
một : mo \\u0323 \\u0302 t (NFD)
The extension aims to prevent false positives in typo detection by automatically normalizing relevant inputs.
Read more
But, depending on the input method, those values may contain decomposed characters, making them internally different from their normalized versions.
For example, the Vietnamese word một (one) can be written in (at least) 3 different ways:
một : m \\u1ED9 t (NFC)
một : m \\u00F4 \\u0323 t (VN keyboard)
một : mo \\u0323 \\u0302 t (NFD)
The extension aims to prevent false positives in typo detection by automatically normalizing relevant inputs.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Duolingo Unicode Normalizer", "version": "2.0.0", "description": "Automatically normalizes Duolingo answers.", "permissions": [ "storage" ], "host_permissions": [ "https://*.duolingo.com/" ], "options_ui": { "page": "options/popup.html", "open_in_tab": false }, "content_scripts": [ { "matches": [ "https://*.duolingo.com/*" ], "js": [ "src/options.js", "src/content.js" ] } ], "icons": { "16": "icons/icon_16.png", "48": "icons/icon_48.png", "128": "icons/icon_128.png", "256": "icons/icon_256.png" }, "manifest_version": 3}
Read more