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.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
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!