This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

تلاش سپورٹ

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

مزید سیکھیں

With “Inspector” the mouseover show a black box with the selector, how to copy it?

  • 4 جواب دیں
  • 1 میں یہ مسئلہ ہے
  • 8 دیکھیں
  • آخری جواب بذریعہ Chacapamac

more options

In Firefox Dev edition, when you use the inspector pointer on an element you can see a black box with the selector of that particular element. How to copy it easily ?

This will be really practical to copy, paste selector in a CSS file, when building a web site.

In Firefox Dev edition, when you use the inspector pointer on an element you can see a black box with the selector of that particular element. How to copy it easily ? This will be really practical to copy, paste selector in a CSS file, when building a web site.

تمام جوابات (4)

more options

Here's a little problem. Copying a site programming without permission to use their code can become a legal issue here. So contact the site webmaster for permission to use their code first. Asking them would prevent any misunderstanding their webmaster if problems happens.

more options

I do not think it is possible.

more options

You can use the Copy sub menu in the left pane of the Inspector to copy the CSS path or the XPath. This isn't possible on hover AFAIK.

more options

When you select an element, what appear in the inspector pane is not necessary the same from that hover box. If the program can generate this box you should be able to find a way to copy is content. It will be really useful.