AdguardTeam / AdguardTeam/CoreLibs

Support `GM_registerMenuCommand` and `GM_unregisterMenuCommand`

Open
#1,698 6 comments 1 reaction 0 assignees View on GitHub
Feature request Priority: P4
Dominant language
No language data
Stars
52
Forks
10
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.