by AgrMohit · 3y ago · 0 comments
While userscripts can't add items to toolbar or context menus, you can register menu commands [1] which have the added benefit of being able to be added dynamically after examining page contents. This is done using the `GM_registerMenuCommand` api [2].
[0]: https://violentmonkey.github.io/guide/keyboard-shortcuts
[1]: https://imgur.com/a/SWpOoRS
[2]: https://violentmonkey.github.io/api/gm/#gm_registermenucomma...
No comments yet.