-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Is your feature request related to a problem? Please describe.
@aminomancer Do you have any experience with communication between the main Firefox window and the Browser Toolbox window? I'm looking for an alternative to the old Element Inspector extension, where pressing Shift+Right Click on an element in main Firefox window cause that this element was automatically selected in the DOM Inspector or Firebug.
I see that in the atoolboxButton.uc.js script you provide some control over the Browser Toolbox.
https://github.com/aminomancer/uc.css.js/blob/master/JS/atoolboxButton.uc.js
I wonder if such a function could be added. Based on this test:
https://searchfox.org/firefox-main/source/testing/talos/talos/tests/devtools/addon/content/tests/toolbox/browser-toolbox.js
I created a client, connect to Browser Toolbox, select the console and executed a simple console.log() in it. But I can't switch to "inspector" and execute any commands for it:
https://searchfox.org/firefox-main/source/devtools/shared/commands/inspector/inspector-command.js
https://searchfox.org/firefox-main/source/devtools/shared/commands/inspector/tests
Describe the solution you'd like
When pressing Shift+Right Click on an element in main Firefox window automatically select it on Browser Toolbox.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.