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

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=""></script>

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

Answered 2 years ago · Improve this answer

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

Answered 2 years ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us


developers 28 questions bug 14 questions posts 9 questions resolved 7 questions request 6 questions google-drive 5 questions configure 4 questions pages 3 questions added 3 questions meta 3 questions More tags →
Subscribe for changes
RSS Feed of latest questions