Greasy Fork

Greasy Fork is available in English.

AO3: Sticky Comment Box

gives you a comment box that stays in view as you scroll and read the story

当前为 2024-03-16 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
escctrl
评分
0 0 0
版本
2.1
创建于
2024-03-08
更新于
2024-03-16
大小
26.6 KB
许可证
MIT
适用于

Credit where credit is due, this is inspired by ScriptMouse's script but has zero lines of code in common. This script was also a great reference for submitting comments to AO3.

Features:

  • sleek-looking comment box with all amenities: drag it around, resize it (on desktop)
  • works on mobile, although it does look slightly different (buttons are icon-only)
  • comment text is CACHED FOR 1 MONTH as you type
  • "Discard" will delete the cached text. "Close" keeps the cached text and only closes the dialog.
  • "Post" submits the comment directly from the dialog - no copying around
  • select your pseud to comment with
  • if you're not logged in, you can comment as a guest. Your entered name and email will be remembered for the next work.
  • select if you want to post the comment to the work as a whole, or to a specific chapter (the chapter list will tell you which chapter you're currently scrolled to)
  • CACHES ONLY ONE COMMENT TEXT FOR THE ENTIRE WORK i.e. it doesn't save individual texts for each chapter. What you put in while viewing chapter 1 will automatically carry over to when you're viewing chapter 2, until you actually hit the Post button.
  • character counter warns you if you're exceeding AO3's limit (although I can't guarantee that AO3's counting logic is correct either)
  • insert highlighted text of the fic into the comment at the press of a button
  • setting option whether quotes are to be in italics or blockquote
  • open/close dialog via a recognizable button on the bottom-right of the screen (sticky, always in view)
  • open/close dialog via a keyboard shortcut of your choice (on desktop)
  • automatic darkmode
  • dialog will remember where you put it, and reopens at the same position
  • when submitting the comment, the work page will reload to show you the comment (unless you're posting to a chapter while reading the whole work - I assume you'd rather keep your spot in the fic instead)
  • won't interfere while posting or editing your own works

TBA: make it work with my Comment Formatting script (to add the formatting buttons bar)

Feel free to submit ideas or issues in the Feedback section!