ابحث في الدعم

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.

Learn More

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

  • 4 ردود
  • 1 has this problem
  • 8 views
  • آخر ردّ كتبه 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.

All Replies (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.