add hypothesis userscript to enable annotation sidebar on any website
This commit is contained in:
commit
4e4291a894
|
@ -0,0 +1,15 @@
|
|||
// ==UserScript==
|
||||
// @name Hypothesis Web Annotation
|
||||
// @grant none
|
||||
// ==/UserScript==
|
||||
|
||||
(
|
||||
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)
|
||||
}
|
||||
)();
|
Loading…
Reference in New Issue