🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

TexCopyer

Double click on a LaTeX formula on a webpage to copy it to the clipboard

< Feedback on TexCopyer

Review: Good - script works

§
Posted: 2025-08-08

What about gemini? I cannot find math tag in html.

3plus10iAuthor
§
Posted: 2025-12-02

Hi, I found a label in Gemini chat page:

<div data-path-to-node="1">
    <div class="math-block" data-math="e^{i\pi} + 1 = 0">
        <span class="katex-display">
            <span class="katex">
                <span class="katex-html" aria-hidden="true">
                    <span class="base">
......

It seems that the expression could be found in .math-block[data-math].
Sorry I didn't add Gemini support but I really dont have time to maintain this project...
But if you dev & test Gemini adapter and provide a pr, i will be happy to merge your contribution.
Thanks for supporting anyway!
github: https://github.com/3plus10i/TexCopyer

§
Posted: 2025-12-03

Ok, I rewrote your script into new script at:
Double-click Math Formula to Copy to Word

It includes Gemini (only Latex, no MathML, I cannot find any way to convert to MathML)

Post reply

Sign in to post a reply.