uweb/en/searchurl/txt/markdeep.html
2023-02-17 21:11:35 +08:00

15 lines
512 B
HTML

<script>
if(location.href.endsWith('/')){
window.onload=function (){
let as=document.getElementsByTagName('a');for(let i=as.length-1;i>=0;i--){let h=as[i].href;if(h.startsWith('file:')&&h.endsWith('.md'))as[i].href=h+'.search';}
}
}else{
function loadJS(u){
let d=document;
let e=d.createElement('script');e.src=u;
d.head.appendChild(e);
}
window.markdeepOptions = {onload};
loadJS("https://casual-effects.com/markdeep/latest/markdeep.min.js?");
}
</script>