The tool has been implemented as a Firefox's plugin.
The source code of the plugin is public (but the use of this source code needs permission from the authors). If you want to use this code in any form, please contact the authors.
It constains the following files:
- manifest.json: Identifies the plugin (within Firefox) and specifies the internal organization of the plugin. It also specifies the interface and the permissions of the extension.
- background-scripts: This script is loaded as soon as the extension is loaded. This script will be loaded until the user disables the extension. It contains listeners that interact with the user's actions.
- content-scripts: These scripts allows us to access to the internal structure of a given webpage. In other words, we can read and manipulate the DOM tree.
The core algorithm of the technique is implemented with Javascript. It is composed of:
- content-scripts/MenuExtractor.js
- content-scripts/site/Website.js
- content-scripts/site/Webpage.js
- content-scripts/algorithm/menex/MenEx.js
- content-scripts/algorithm/menex/Map.js
- content-scripts/algorithm/temex/HierarchyLinks.js
And we have only one background-script:
- background-scripts/background.js