A modern lightweight mouse-over popup dictionary for Chinese!
After you install this extension you have to reload the page(s) you want to use it on and enable it by pressing the extension's button first! This is only necessary after installing the first time or if the extension has updated.
LiuChan (liú chàng) is an extension for chrome that allows you to mouse-over Chinese to instantly lookup the dictionary. 流畅 (liú chàng) stands for fluency in a language.
It started out as a port of RikaiChan (and its Rikai derivatives) and has since grown into an extension that holds its own with new features and improved performance.
* Instantaneous translation
Just hover/mouse over any Chinese characters and words appear just like that!
* Synchronized settings across all your devices
LiuChan will automatically synchronize your settings for you (requires that Chrome sync is enabled)
* Text input support
Like to use a dictionary on text inputs? No worries, LiuChan has got you covered! As long as an input is active we'll disable the highlighting functionality so you don't accidentally lose focus or remove text you didn't mean to delete. What's more, hotkeys are also automatically disabled when you're typing!
* Theme support
Pick from five presets: LiuChan, Pleco, Charcoal, Paper or Sepia
* Theme customization
You can alter the tone colors of any theme, to ensure you don't have to re-associate the colors you're used to! We've made it easy; use the built-in color pickers and see the changes on the fly!
* Fuzzy search
Use chrome's omnibox to search the dictionary using hanzi, pinyin or just plain english! For those times a word is on the tip of your tongue ;)
Sometimes you just need to hear it. Have any word spoken out loud in one of the three available dialects: Mandarin, Taiwanese or Cantonese.
Mouse Over Dictionary - Simply enable the extension and mouse over Chinese on a page!
Fuzzy search - Type 'lc' in the omnibox followed by whatever term you want to look for (Chinese, pinyin or English), the results will show up as suggestions.
Text-To-Speech - Press T when hovering over a character to hear its pronunciation in the dialect you've chosen
Why is it called LiuChan?
流畅 (liú chàng) stands for fluency in a language. I kept -Chan as an homage to it's origin.
* Wordlists/Anki support
* Cantonese support
* Fuzzy search optimizations (it's not fast or accurate enough at the moment)
Feel free to put in your feature requests in the reviews or on github!
*Fixed a serious bug affecting only new users of LiuChan, where the popup would not show up unless the user changed at least one option in the options page. Didn't catch this for a long time probably, because I didn't clear my synched settings for a long time! Oops...
*Fixed a bug where if a page unloaded the popup element (usually through some funky dynamic loading) the popup wouldn't get recreated.
+If you try to enable Liuchan on a tab that does not have the content script running yet, it will give you a helpful reminder that you have to reload the tab first.
*Massively improved performance. Memory usage decreased by 50% and dictionary lookup is ~40 times faster!
*Fixed z-index issue with notepad and popup overlapping
*Notepad now syncs between tabs and windows
*Minor styling tweaks
+Notepad functionality! Right-click the Liuchan button to access (can be opened on any webpage)
*Fixed bug where the icon wouldn't show the actual status (red when actually disabled)
*Fixed bug that caused tabs in different windows to not be activated
+More theme customization! You can now change the background, border, border radius, drop shadow and more. Some other options such as scale on zoom and color customization have been added as well.
*Liuchan has changed massively under the hood. Now using ES6, lots of refactoring. Doesn't mean much for the end-user, but it should mean updating and adding new functionality becoming much easier! A slight performance increase as well.
*Updated CEDICT to newest version (2017-12-06)
*Input compatibility has been improved; Liuchan no longer takes away focus or highlights text if an input is active.
*Various optimizations. Gotta shave off those CPU cycles
*Content scripts now only hold the options they need, instead of all of them
*The dictionary is rebuilt on the fly when you change pinyin type, meaning you don't have to reenable Liuchan
*Popup Delay has been fixed
+Added Text-To-Speech for Mandarin, Taiwanese and Cantonese
Appropriate settings have been added to option page
*Options page save successful message now scrolls with page
*Fixed copy to clipboard function
*Altered options page CSS
*Upgraded key handling code
*Fixed a bug where certain characters weren't able to match a definition
*Altered the CSS slightly to improve aesthetics