Coldblackice
[H]ard|Gawd
- Joined
- Aug 14, 2010
- Messages
- 1,152
Is there a way to "hook" GUI-triggered functions in Firefox?
There's an addon I frequently use in Firefox, however, the most-used feature isn't accessible via keyboard shortcut -- I either have to right-click and select it from the context menu, or I have to click a button on the addon's toolbar.
Would it be possible to trigger this addon's function programmatically? Essentially, mimicking the "puppet-string" of either selecting it via context menu, or mimicking the clicking of its toolbar button.
In other words, I want to capture what's happening behind-the-GUI and then be able to trigger it myself programmatically, writing something that'll allow me to trigger this addon feature anytime via a keyboard shortcut.
There's an addon I frequently use in Firefox, however, the most-used feature isn't accessible via keyboard shortcut -- I either have to right-click and select it from the context menu, or I have to click a button on the addon's toolbar.
Would it be possible to trigger this addon's function programmatically? Essentially, mimicking the "puppet-string" of either selecting it via context menu, or mimicking the clicking of its toolbar button.
In other words, I want to capture what's happening behind-the-GUI and then be able to trigger it myself programmatically, writing something that'll allow me to trigger this addon feature anytime via a keyboard shortcut.