Hyphenate web pages with Hyphenator.js
* automatically hyphenates texts on websites if either the webdeveloper has included the script on the website or you use it as a bookmarklet on any site.
* automatically breaks URLs on any browser that supports the zero width space.
* runs on the client in order that the HTML source of the website may be served clean and svelte and that it can respond to text resizings by the user.
* has a documented API and is highly configurable to meet your needs.
* supports a wide range of languages.
* relies on Franklin M. Liangs hyphenation algorithm (PDF) commonly known from LaTeX and OpenOffice.
* is free software licensed under LGPL v3 with additional permission to distribute non-source (e.g., minimized or compacted) forms of that code (see source code header for details).
* provides services for customizing, merging and packing script and patterns.
Hyphenator.js does …
* not give you control over how many hyphens you’ll have as endings on consecutive lines.
* not eliminate misleading hyphenation like ‘leg-ends’ (depending on the pattern quality).
* not work in Firefox 2 (but it works fine in Firefox >=3.0)
* not handle special (aka non-standard) hyphenation (e.g. omaatje->oma-tje)