Skip to content

Sacus1/JPDB-Nadeshiko-Examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

100 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JPDB Nadeshiko Examples

A Tampermonkey userscript for jpdb.io that embeds anime examples from Nadeshiko directly into the site.

Features

  • Anime example images displayed alongside vocab.
  • Audio support with autoplay and manual controls.
  • Navigation arrows to cycle through examples.
  • Configurable settings for appearance and behavior.

Controls

Icon Function
🔊 Speaker Play example audio.
Left Arrow Go back one example.
Right Arrow Go forward one example.
Menu Button Open the settings menu.

Config Options

The settings menu () allows customization of the script's behavior:

  • Image Width – Adjust image size.
  • Wide Mode – Place image next to or above meanings.
  • Definitions on Right in Wide Mode – Place image left and definitions right.
  • Arrow Width/Height – Resize navigation arrows.
  • Page Width – Adjust overall layout width.
  • Sound Volume – Control audio playback volume.
  • Enable Example Translation – Show/hide English translation.
  • Sentence Font Size – Resize Japanese text.
  • Translation Font Size – Resize English translation.
  • Colored Sentence Text – Highlight vocab in the sentence.
  • Auto Play Sound – Automatically play audio when changing examples.
  • Number of Preloads – Set how many examples load in the background.
  • Vocab Size – Adjust vocab text size in reviews.
  • Default to Exact Search – Enables exact search option by default.
  • Hotkeys – Buttons to go to next/previous example. Can easily add any key by editing line #27
  • Minimum Example Length – Set a lower limit for sentence length.
    • ⚠ Warning: Changing this will delete all current favorites.
  • Maximum Example Length – Set an upper limit for sentence length.
    • ⚠ Warning: Changing this will delete all current favorites.
  • Randomize sentences – Randomize the order of examples for a word.
  • Weighted Randomization – Randomize the order of examples for a word, but with a bias towards sentences with most known words. (Require jpdb history to be enabled)

How It Works

The script searches Nadeshiko for examples based on the current vocabulary and embeds them into jpdb.io. Audio can be played manually or automatically.

Audio Playback Note

If autoplay doesn't work, check your browser's site settings (click the lock icon next to the URL) and allow automatic audio playback.

Links

Similar Projects

Contributing

Contributions are welcome! If you encounter bugs, have feature suggestions, or want to improve the script, feel free to open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License.

About

Userscript for jpdb.io that embeds anime examples from nadeshiko

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%