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!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

How to display multi-line add-on discription for non published extension

  • 4 trả lời
  • 1 gặp vấn đề này
  • 9 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

Im creating a FF extension for private distribution (I dont want it listed on the FF extension site).

If I use "\r\n" in my manifest.json "description" I can create a multi line description that displays as expected when I click on the preferences for my extension. The problem is that on the Add-on summary page (where all the installed extension are listed) the description shows the first 40 or so characters of the description (all of line 1 and then as much as will fit of line 2). I want to only show line 1.

I see that with extensions that are published the first line can be short and displays in the summary list, then when the preferences are displayed the first line is displayed and additional lines are displayed.

Any way to do this?

Im creating a FF extension for private distribution (I dont want it listed on the FF extension site). If I use "\r\n" in my manifest.json "description" I can create a multi line description that displays as expected when I click on the preferences for my extension. The problem is that on the Add-on summary page (where all the installed extension are listed) the description shows the first 40 or so characters of the description (all of line 1 and then as much as will fit of line 2). I want to only show line 1. I see that with extensions that are published the first line can be short and displays in the summary list, then when the preferences are displayed the first line is displayed and additional lines are displayed. Any way to do this?

Tất cả các câu trả lời (4)

more options

Hello JackPollack,

Maybe you'd be better off posting your question here :

https://discourse.mozilla.org/c/add-ons

more options

will do. thank you

more options

JackPollack said

will do. thank you

          Good luck !

more options

Note that "\n" should be sufficient to force a line break.