AdguardTeam / AdguardTeam/CoreLibs

Support `GM_registerMenuCommand` and `GM_unregisterMenuCommand`

Đang mở
#1,698 6 bình luận 1 reaction 0 người được giao Xem trên GitHub
Feature request Priority: P4
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
52
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Description
Currently, AdGuard does not support `GM_registerMenuCommand` and `GM_unregisterMenuCommand` that is required when an userscript developer wants to add its configuration feature, etc.

### Suggestion
- Option button
I think that placing the button here is better.
Screenshot

![Screenshot from 2022-11-25 13-37-30](https://user-images.githubusercontent.com/98787049/203997412-ad7255f9-fca3-4477-ba6f-568803579641.png)

- The `onClick` event must be executed only when any matched webpage is opened.

### Reference
- https://violentmonkey.github.io/api/gm/#gm_registermenucommand

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.