Provides custom LingQ layouts
这些是此脚本的所有版本。 只显示代码变更过的版本。
Refines AI responses and improves lesson auto-completion logic.
Added am audio player to the TTS playground.
Added TTS playground.
Fixed a bug on the print page. Refactored the code structure.
Added a progress text for the lesson audio generation. Enhanced the progress bar.
Added more random options for google cloud TTS.
Changed the google cloud voice list loading logic.
Added the Google Cloud as a new TTS Provider. It's stable and has more varied voices.
Implemented lesson audio generation and refactors core setup logic.
Enhanced summary prompts and fixed a bug related to the quick summary loading.
Fixed lesson summary to update when lesson is changed without refreshing.
Enhanced the prompts.
Added a regenerate response button to the last bot message.
Added a copy message button to bot messages.
Added a read the message button to bot messages. It utilizes the AI TTS.
The read the message button in a word-response only reads the word and the example sentence.
Modified the style of the buttons in bot messages.
Refined AI prompt logic, improved chat button styling.
Added a setting to prepend lesson summary.
Refined the lesson summary prompts.
Enhanced prepended summary style
Improved chat button styling.
Enhanced the prompts for more consistent responses.
Fixed a bug related to getting the lesson text.
Made LLM have a lesson summary in its context.
Fixed a bug that cursor is moving to the chat input box after the first response is generated.
Made the prompts use system role and refined chat UI logic.
Added a donation button.
Implemented LLM response streaming to enhance the chat experience.
Highlighted LingQ words in print and improved vocabulary table.
Improved print layout by adding page break before vocabulary table.
Added a vocabulary table to the print page.
Ensured translation is shown when a lesson is changed without a refresh.Corrected the approximate cost calculation for cached tokens
Added a new model (gemini 2.5 flash light)
Added an autoplay in sentence view.
Modified the showTranslation function's logic.
Edited CSS for the minimized video player.
Added the checkbox that shows translation automatically.
Added the focusPlayingSentence checkbox.
Fixed the problem that the playing sentence focusing function isn't working with the translation is turned on.
Added the translation text color picker to the stting page.
Changed the style of the send chat button.
Enhanced the prompts. Fixed the wrongly calculated input tokens of gemini chat.
Modified the style of chat message. Fixed a bug related to the widget that doesn't have .is-fixed.
Integrated the youtube player simplification script into the code (Automatically collapse More videos popup in the player).
Minor UI update.
Added the gpt-4.1 as an option to the model list. Enhanced the prompt. Applied retry to the google TTS. Changed the logic of the TTS button.
Fixed the problem that AI-TTS is not working when chat widget is turned off.Fixed the problem that AI-TTS is not working when chat widget is turned off.
显示所有脚本版本