搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox GUI id or class List

more options

How can i get all firefox gui elements id or class list? For example i know just #personal-bookmarks id. Is there something like list?

How can i get all firefox gui elements id or class list? For example i know just #personal-bookmarks id. Is there something like list?

所有回覆 (1)

more options

You can view the entire Firefox GUI through the Browser Toolbox, although it's not enabled by default.

To enable it, open the regular debugger tools (pressing F12 on your keyboard). On the debugger window (which usually appears on the bottom of the screen), there will be a three dot button next to the close button. Press that and select Settings.

Under the Advanced Settings section, check Enable browser chrome and add-on debugging toolboxes as well as Enable remote debugging. Then you can close the regular debugger window.

Now you can open the Browser Toolbox but going to the Firefox menu button, selecting Web Developer and Browser Toolbox. You can also use the keyboard shortcut Ctrl + Alt + Shift + I.

This will allow you to inspect all of the Firefox GUI, the same way you would for a website.

NOTE: You may be asked to approve an incoming connection. That's not a remote connection. That's you.

Hope this helps.