AO3: Comment Formatting Options

Adds interface to comments to easily insert formatting options in HTML

المؤلف
dusty
التثبيت اليومي
0
إجمالي التثبيت
643
التقييمات
4 0 0
الإصدار
1.2
تم إنشاؤه
13-07-2017
تم تحديثه
04-03-2018
Size
5.22 KB
الترخيص
لا يوجد
ينطبق على

NOTE: This script won't fully work when using Greasemonkey 4. An alternative I recommend is ViolentMonkey.


This basically adds a UI to help you insert HTML codes to use for formatting comments. Edit the script and set ICONIFY to false if you want text instead of icons instead for the options.

Current options are:

  • Bold (<strong></strong>)
  • Italic (<em></em>)
  • Underline (<u></u>)
  • Strikethrough (<s></s>)
  • Insert Link (<a href=""></a>)
  • Insert Image (<img src="">)
  • Blockquote (<blockquote></blockquote>)

Possible TODOs If I Have Time And/Or Have Figured Out How To Do It

  • make it show up when editing a comment you previously made.
  • add a prompt thingy for the Insert Link and Insert Image options to ask for href/src values, etc.
  • add more options. definitely bulleted and numbered lists.
  • a preview on how the comment would look?

Let me know if you encounter bugs/weird shit happening or have suggestions etc. etc.