Hypothesis web annotation in Firefox: cellphone and PC

  1. Launching the bookmarklet is not as straightforward as clicking an extension button. It is true that a shortcut can be added to the bookmark toolbar, but I prefer to hide this toolbar to allow more space for browsing. In addition, this toolbar is not available (and it would take too much space if it were) for mobile.
  2. When launched from a bookmarklet, the Hypothesis client isn’t working in webpages with Content Security Policy (CSP) enabled, such as GitHub and Internet Archive’s Wayback Machine (you can read more about this issue here). Many webpages rely on resources (scripts, fonts, etc) hosted elsewhere. CSP is a security measure which tells the browser from which sources it can fetch additional resources, to make sure only trusted resources can be loaded onto the webpage. Update July 23rd, 2019: Apparently this will be fixed in Firefox 69.

1. How to easily activate Hypothesis on all webpages?

2. How to make Hypothesis work in sites with CSP enabled?

  1. Open the Header Editor menu.
  2. Click on “Manage”.
  3. Go to “Export and Import”.
  4. Copy this URL, paste it in the URL field and click Download: https://raw.githubusercontent.com/diegodlh/h.csp/master/hypothesis.json
  5. The “Hypothesis” rule should appear: click “Save” to apply it on all webpages you visit from now on.

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Process Analytics — November 2021 Newsletter

Money in Open Source

Link to anchor link at other page

Code To Learn Daily Notes (Focus On React Native, Hybrid Mobile APP, TypeScript, JavaScript)

Making a Simple Drawing App With React and Konva.js

I am getting cheaper pricing for hosting from other providers. Why is your price high?

Vue “blue pills” and how to “detach from the matrix” — A story about how I fixed my Vue App Memory…

JavaScript30 — Day 20

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Diego de la Hera

Diego de la Hera

More from Medium

Which ERP Function is Right for Your Organization, Assembly or Manufacturing?

Assembly vs Manufacturing

The best things that happened to me in 2021

Feeling the need for speed? Turbocharge your performance by moving to Oracle Cloud Infrastructure

A Definitive, Practical Guide to Conventional PCR