Provides custom LingQ layouts
这些是此脚本变更过代码的版本。 显示所有版本。
Added a setting to prepend lesson summary.
Improved chat button styling.
Enhanced the prompts for more consistent responses.
Modified the style of the buttons in bot messages.
The read the message button in a word-response only reads the word and the example sentence.
Added a read the message button to bot messages. It utilizes the AI TTS.
Added a copy message button to bot messages.
Added a regenerate response button to the last bot message.
Enhanced the prompts.
Fixed lesson summary to update when lesson is changed without refreshing.
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.
Improved Google TTS Prompt. Added a random voice option.
Add Google TTS option.
Modified the prompts. LLM console logs now display the corresponding costs.
Changed the default color palette to the same as the original LingQ setting.
Made the playing sentence focusing scroll smooth.
Fixed the bug on the tts button.
Better logging. Fixed the bug on the tts button.
Better logging. Fixed the bug on the tts voice selector
Fixed the issues occurring when moving between the lessons without refreshing. The existing TTS will be replaced with AI TTS when clicked.
Optimized the waitForElement for performance reason. Improved the prompt for sentence.
Huge code refactoring for performance and clean code reasons.
Wrote logging codes for easier debugging, fixed prompts. Added the keyboard shortcut on/off option.
Applied formatting to the input word/sentence and context.
Added a 'Meaning Copied' popup message.
显示所有脚本版本