Stack Exchange comment template context menu

Adds a context menu (right click, long press, command click, etc) to comment boxes on Stack Exchange with customizable pre-written responses.

当前为 2021-10-11 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

作者
Stephen Ostermiller
评分
0 0 0
版本
1.00
创建于
2021-10-11
更新于
2021-10-11
大小
21.5 KB
许可证
暂无
适用于

Stack Exchange Comment Templates Context Menu

If you are tired of typing the same comments into Stack Exchange sites over and over, you can use this add-on to insert any of your frequently written comments with a couple clicks.

Getting started

Trigger a context menu on the field where you write a comment by right-clicking, long-pressing, or command-clicking (depending on your operating system.) A menu will pop up with a list of comments that can be inserted. Click one of them to insert it, or use the "Edit" button to change the comment templates.

Features

  • Right click on an empty comment field, or on the "Add a comment" link to bring up a context menu of comments that can be inserted.
  • Also works for edit notes, flags, and flag handling responses.
  • Does not show a context menu for comment boxes that have been filled in allowing you to use the standard context menu for features like spell check.
  • An import/export text file format
  • Load comments from a URL (Hosting comment templates on Github works great.)
  • Comment templates are stored is user script storage that persists across all Stack Exchange sites (no need to configure your comments per site.)
  • Set comment templates to be available only in specific contexts:
    • Only on specific types of comments (eg. comments on answers)
    • Only for moderators or for non-moderators
    • Only on specific sites (eg. stackoverflow.com)
    • Only for specific tags (eg. Java)