Skip to content

hypothesis/browser-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Hypothesis GitHub Actions
Apr 8, 2025
f73e6f0 · Apr 8, 2025
Oct 28, 2024
Jul 28, 2023
Jul 21, 2016
Jul 21, 2016
Feb 27, 2025
Nov 29, 2019
Jan 26, 2024
Dec 20, 2024
Dec 20, 2024
Oct 18, 2024
Nov 11, 2022
Dec 20, 2024
Apr 15, 2024
Mar 24, 2020
Jul 28, 2023
Feb 10, 2020
Oct 2, 2024
Nov 9, 2023
Jan 12, 2021
Oct 18, 2024
Oct 17, 2024
Apr 8, 2025
Apr 16, 2024
Apr 16, 2024
Apr 8, 2025

Hypothesis browser extension(s)

BSD licensed

The Hypothesis browser extensions allow you to annotate web documents using your Hypothesis account.

Screenshot of Hypothesis client

Choose your browser below

Chrome Firefox
Chrome Firefox
Now available In development

Development

The code for the extensions is in the src/ directory, and can be built into a browser extension by running:

make build

Once this is done you should be able to load the build/ directory as an unpacked extension.

The extension code has a test suite, which you can run using:

make test

Note that the browser extensions are for the most part just a wrapper around the Hypothesis client. Depending on what you're interested in working on, you may need to check out the client repository too. Once you have checked out and built the Hypothesis client, you can use it by running the following command in the browser-extension repository:

yarn link ../client

Where "../client" is the path to your Hypothesis client checkout. After that a call to make build will use the built client from the client repository. Please consult the client's documentation for instructions on building the client in a development environment.

Tip: To unlink your dev browser extension from your dev client run yarn unlink hypothesis in your browser extension directory (see the yarn uninstall docs).

See Building the extension for more information.

Community

Join us on Slack for discussion. Please see our contact page for details of how to register.

For help using the extension, please see our Help pages.

If you'd like to contribute to the project, you should consider subscribing to the development mailing list, where we can help you plan your contributions.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

License

The Hypothesis browser extensions are released under the 2-Clause BSD License, sometimes referred to as the "Simplified BSD License". Some third-party components are included. They are subject to their own licenses. All of the license information can be found in the included LICENSE file.