Floating comment box for AO3
< 脚本AO3 Floating Comment Box的反馈
What did you have to change to add the blockquote?
Look for this code:
`const selection = `${window.getSelection().toString().trim()}``
And replace with:
`const selection = `<blockquote><i>${window.getSelection().toString().trim()}</i></blockquote>``
Leave out the
<i></i>
if you don't want italics.
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!