AO3 Floating Comment Box

Floating comment box for AO3

< Commentaires sur AO3 Floating Comment Box

Avis: Bon - le script fonctionne correctement

§
Posté le: 2022-01-04

Love this script!

I ended up making and sharing a version for myself that uses the blockquote tag in addition to the italics formatting to set off the quotes from the comments.

ScriptMouse, if you hate that I've done this, please let me know!

§
Posté le: 2024-01-03

What did you have to change to add the blockquote?

§
Posté le: 2024-01-04
Édité le: 2024-01-04

Look for this code:

    `const selection = `${window.getSelection().toString().trim()}``

And replace with:

    `const selection = `<blockquote><i>${window.getSelection().toString().trim()}</i></blockquote>``
§
Posté le: 2024-01-04
Édité le: 2024-01-04

Leave out the

<i></i>

if you don't want italics.

Poster une réponse

Connectez-vous pour poster une réponse.

长期地址
遇到问题?请前往 GitHub 提 Issues。