Log in Sign up

Can I add this Hypothesis JS embed?

Dear friends who know more about JavaScript than me, do you think I can do this on my Blot site without a) breaking things; b) taxing Blot in some burdensome way?

2 replies Asked Jul 12 '21 at 11:02 · Improve this question

Yes, it works nicely. I don’t think it taxes Blot as it’s merely calling a script hosted elsewhere.

I used the following code to change the colours and fonts of the hypothesis sidebar to match my theme.

window.hypothesisConfig = function () {
  return {
    branding: {
      appBackgroundColor: '#FEFFFB',
      ctaBackgroundColor: '#3822BB',
      ctaTextColor: '#eee',
      selectionFontFamily: 'helvetica, arial, sans serif'
<script async src="https://hypothes.is/embed.js"></script>

PS. I decided against having this on my blog because I prefer Memex Go

Answered Jul 13 '21 at 9:47 · Improve this answer

It definitely won’t tax Blot! Glad you got it working

Answered Jul 13 '21 at 18:56 · Improve this answer

Please, log in to add a reply.