当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

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.