JPDB Immersion Kit Examples

Embeds anime images & audio examples into JPDB review and vocabulary pages using Immersion Kit's API. Compatible only with TamperMonkey.

Versión del día 12/09/2024. Echa un vistazo a la versión más reciente.

Autor
awoo
Calificaciones
0 0 0
Versión
1.8
Creado
08/09/2024
Actualizado
12/09/2024
Tamaño
54.1 KB
Licencia
MIT
Funciona en

jpdb anime examples

Userscript for https://jpdb.io/ that embeds anime examples from https://www.immersionkit.com/

-------------------------------------------------------------------------------------------------------------------------------------

CONTROLS

SPEAKER: Click to play audio
STAR: Favorite button. ★ = favorite; ☆ = non-favorite
JP QUOTATION MARKS: Exact search toggle. 「」= Exact search enabled; 『』 = Exact search disabled.
LEFT ARROW: Go back one example
RIGHT ARROW: Go forward one example

THREE LINES: Menu button. ☰ Click it to open an overlay menu.

In the menu there's also several CONFIG options that can be changed:

IMAGE_WIDTH: How wide image is
WIDE_MODE: Decides if the image is to the side of the meanings or above.
PAGE_WIDTH: How wide the page is
SOUND_VOLUME: How loud the audio is
ENABLE_EXAMPLE_TRANSLATION: Display english translation or not
SENTENCE_FONT_SIZE: Size of japanese sentence
TRANSLATION_FONT_SIZE: Size of english translation
COLORED_SENTENCE_TEXT: Highlight the vocab in the japanese sentence or not
AUTO_PLAY_SOUND: Automatically play sound when loading page or pressing an arrow
NUMBER_OF_PRELOADS: How many examples to load in the background
MINIMUM_EXAMPLE_LENGTH: How short you allow the example to be. WARNING. Changing this will break all current favorites. Delete your favorites after changing it.

-------------------------------------------------------------------------------------------------------------------------------------

It looks for the current vocab, then searches the Immersion Kit database for examples and embeds them into the page.

It can auto play the sound clip that goes with each image. You may need to change your browser's site settings to allow audio automatically. This can usually be found to the left of your URL as a small button.

There's even arrows to quickly cycle between examples, and a favorite system to pick the default example for the next time you see the current vocab.

The only restriction is that it requires TamperMonkey to be your userscript manager.

Hope everyone finds this useful as I do. Enjoy~