This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tridactyl: enable autofocus on HedgeDoc/CodiMD instances

Allows HedgeDoc editors to maintain focus when clicked, fixing the issue where text input was interrupted after 1 second due to Tridactyl blocking autofocus attempts.

+3
+3
tools/firefox/tridactylrc
··· 12 12 " Don't focus input fields automatically 13 13 set allowautofocus false 14 14 15 + " Allow autofocus on HedgeDoc/CodiMD instances (detected dynamically) 16 + autocmd DocLoad .* js if (document.title.includes('HedgeDoc') || document.title.includes('CodiMD') || document.querySelector('meta[name="application-name"][content="HedgeDoc"]')) { tri.excmds.set('allowautofocus', 'true'); } 17 + 15 18 " Remove dangerous default binding (d closes tab) 16 19 unbind d 17 20