Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

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

Learn More

URL bar right click menu

  • 5 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: cmnmsc

more options

When I select a text on a webpage and right click, there are some options including add-on related ones (e.g. translate this text). However, when I select a text in the address bar my add-on options doesn't appear. Is it possible to use my add-ons on address bar selections? Or is it that my add-ons lack this feature?

When I select a text on a webpage and right click, there are some options including add-on related ones (e.g. translate this text). However, when I select a text in the address bar my add-on options doesn't appear. Is it possible to use my add-ons on address bar selections? Or is it that my add-ons lack this feature?

모든 댓글 (5)

more options

I don't think any add-ons work on the address bar except for some.

more options

FredMcD said

I don't think any add-ons work on the address bar except for some.

How can I make my custom add-on work on address bar?

글쓴이 cmnmsc 수정일시

more options
more options

Extensions are allowed to define right-click context menu items for a variety of different contexts. Address bar isn't one of those contexts, as far as I can tell:

https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/menus/ContextType

What kind of action do you want Firefox or an extension to take with the address? Extensions can request the address of the current page, so the action could be accomplished with a button instead of a menu item.

more options

jscher2000 said

Extensions are allowed to define right-click context menu items for a variety of different contexts. Address bar isn't one of those contexts, as far as I can tell: https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/menus/ContextType What kind of action do you want Firefox or an extension to take with the address? Extensions can request the address of the current page, so the action could be accomplished with a button instead of a menu item.

I wanted to select a word in the URL, right click and translate it.