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 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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)