본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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.