AdguardTeam / AdguardTeam/CoreLibs

Support `GM_registerMenuCommand` and `GM_unregisterMenuCommand`

Abierto
#1,698 6 comentarios 1 reacción 0 asignados Ver en GitHub
Feature request Priority: P4
Lenguaje dominante
Sin datos de lenguaje
Estrellas
52
Forks
10
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.