This module provides administrators with the ability to add custom JavaScript to webtrees. The module consists of one file in addition to this 'Read me' file.
Extract the files from the zip container into your server's webtrees modules folder (currently called modules_v3); this will create a new folder there called 'custom_js' containing module.php and README.html (this file).
Login to webtrees as administrator and go to the Module Administration (Control Panel -> Modules -> Module Administration). Look down the list of installed modules for 'Custom JavaScript' and ensure it is ticked as 'enabled'.
Click the module name to go to the module configuration page. Write your custom JavaScript, without <script></script> tags!, save the configuration and you are ready.
Note that your custom JavaScript can include embedded variables from the Stats class.