Add hypothes.is script to qutebrowser

This commit is contained in:
Thomas Dehaeze 2019-12-01 17:15:03 +01:00
parent eb68213e5d
commit ca4f31ba45

View File

@ -923,6 +923,11 @@ c.url.start_pages = ['https://start.duckduckgo.com']
config.bind(',o', 'spawn ~/bin/bukurun') config.bind(',o', 'spawn ~/bin/bukurun')
#+end_src #+end_src
*** Annotate with Hypothesis
#+begin_src conf
config.bind(',a', "jseval javascript:(function(){window.hypothesisConfig=function(){return{showHighlights:true,appType:'bookmarklet'};};var d=document,s=d.createElement('script');s.setAttribute('src','https://hypothes.is/embed.js');d.body.appendChild(s)})();")
#+end_src
* Userscripts * Userscripts
** Cast Youtube to Chromecast ** Cast Youtube to Chromecast
:PROPERTIES: :PROPERTIES: