Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adalinesimonian/pa-vei-focus
Improves the focus handling of input fields on the På Vei website.
https://github.com/adalinesimonian/pa-vei-focus
extension firefox firefox-addon firefox-extension language-learning norwegian norwegian-language
Last synced: 3 days ago
JSON representation
Improves the focus handling of input fields on the På Vei website.
- Host: GitHub
- URL: https://github.com/adalinesimonian/pa-vei-focus
- Owner: adalinesimonian
- License: agpl-3.0
- Created: 2022-12-22T18:36:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-19T09:43:01.000Z (3 months ago)
- Last Synced: 2024-11-10T18:50:34.403Z (2 months ago)
- Topics: extension, firefox, firefox-addon, firefox-extension, language-learning, norwegian, norwegian-language
- Language: JavaScript
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/p%C3%A5-vei-focus/
- Size: 229 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# På Vei - Input Focus Improvements
This is a small extension that improves the input focus behaviour in lessons on the [På Vei](https://pavei.cappelendamm.no/) website and other Cappelen Damm courses (such as [Stein på Stein](https://steinpastein.cappelendamm.no/) and [Her på Berget](https://herpaberget.cappelendamm.no/)).
## Improvements
- When opening a lesson, the input focus is set to the first input field.
- Pressing the `Enter` key in a lesson is the same as clicking the `Neste` button, unless a button is focused.
- When a lesson is completed, the `Prøv igjen` button is focused if the lesson is failed, and the `Neste` button is focused if the lesson is passed.
- If the `Prøv igjen` button is pressed, the input focus is set to the first input field.
- If the `Neste` button is pressed, the input focus is set to the first input field in the next lesson.
- If the lesson is the last lesson in the chapter, the input focus is set to the `Neste` or `Oppsummering` button in the chapter navigation.