This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To use with userscript managers like TamperMonkey go to | |
// https://greasyfork.org/en/scripts/483099-ar5iv-tex-copy | |
// What is ar5iv? See for yourself. Change the X in arXiv to 5 | |
// https://arxiv.org/abs/2204.08819v1 | |
// https://ar5iv.org/abs/2204.08819v1 | |
function handleBlockEquationClick(event) { | |
event.stopPropagation(); | |
const equation = event.target.closest(".ltx_equation") |