AdguardTeam / AdguardTeam/CoreLibs

Support `GM_registerMenuCommand` and `GM_unregisterMenuCommand`

Aperta
#1,698 6 commenti 1 reazione 0 assegnatari Vedi su GitHub
Feature request Priority: P4
Lingua principale
Nessun dato sulla lingua
Stelle
52
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.