JPDB Immersion Kit Examples

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

目前为 2024-09-12 提交的版本。查看 最新版本

作者
awoo
评分
0 0 0
版本
1.8
创建于
2024-09-08
更新于
2024-09-12
大小
54.1 KB
许可证
MIT
适用于

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~

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址