What is the easiest way to develop Firefox extension?

前端 未结 5 611
不思量自难忘°
不思量自难忘° 2020-12-22 17:28

I\'m planning to develop a simple Firefox extension that will shorten URL of a currently active tab, display a popup with the shortened URL, and place it into the clipboard.

5条回答
  •  北海茫月
    2020-12-22 18:00

    There are two official ways for developing add-ons, each of them has pros and cons:

    1- WebExtensions (newer method):

    WebExtensions are the future of Firefox add-ons. If you can use the WebExtensions API, it's the best choice. You can develop and publish WebExtensions right now, but they're still in an early state.

    2- Add-on SDK (older method):

    The Add-on SDK provides APIs for developing Firefox add-ons, and a tool for developing, testing, and packaging them.

提交回复
热议问题