<<

firefox-addon

#- addon 1

1: firefox-addon 2

Examples 2

2

: 2

2

WebExtensions 2

2

Firefox 3

3

WebExtensions 4

Firefox Add-on SDK 4

/ Restartless 4

/ / XUL 4

4

5

5

: 5

( ) 5

6 You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: firefox-addon

It is an unofficial and free firefox-addon ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official firefox-addon.

The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners.

Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to [email protected]

https://riptutorial.com/ko/home 1 1: firefox-addon

Examples

:

" " .

Firefox Firefox . .

• , . • Firefox • Firefox • Firefox

API .

WebExtensions

, . WebExtensions Firefox , WebExtensions Firefox 57 (2017-11-14 ) .

( ).

• WebExtensions : WebExtensions Firefox . manifest.json . API Google . HTML CSS . Mozilla API Firefox API . Firefox Developer Edition Firefox Nightly WebExtension . Firefox . MDN " " .

WebExtensions API . .

• SDK : [ deprecated; ] jpm init package.json . Firefox API require() require() . HTML CSS . jpm run (, AMO / Mozilla ) jpm xpi xpi .xpi . , SDK .

Mozilla require("chrome") XUL , XPCOM XBL Add-on SDK .

SDK . SDK SDK .

• : [ . ] / Mozilla " ". , (restartless) . "restartless" . SDK WebExtension . , "" .

HTML CSS . XUL Firefox .

bootstrap.js JavaScript startup() , shutdown() , install() uninstall() () .

install.rdf . Mozilla ( : Firefox) chrome.manifest . https://riptutorial.com/ko/home 2 / XUL / . SDK ( SDK JavaScript API ).

" XUL , XPCOM XBL " . SDK WebExtension . . . Add-on SDK require("chrome") XUL, XPCOM XBL SDK SDK .

• / XUL / : [ . ] install.rdf ( : ) chrome.manifest . chrome.manifest . install.rdf . ( : Firefox) . .

Javascript XUL, HTML CSS . XPCOM XBL .

Overlay / XUL / Legacy . Firefox

. Firefox .

• ( ) Firefox . CSS . " " . • Android Firefox . , Firefox . • . • . • Firefox . • .

"" Makyen 's stackoverflow . Mozilla Developer Network (MDN) Add-on . Makyen firefox-addon "Remarks" . Ondřej Doněk "for" . "" "" "" . .

Firefox . . :

1. about:debugging 2. " " . 3. . 4. . 5. "" . about:debugging "aaaaaaaaaaaaaaaaaa - demo add-on" about:addons .

https://riptutorial.com/ko/home 3 , ( .xpi ) .png .xpi . . Firefox .

Mozilla : Firefox

WebExtensions

WebExtensions . .xpi .

Firefox Add-on SDK jpm xpi xpi .xpi Firefox SDK . jpm run Firefox Add-on SDK .

Add-on SDK package.json install.rdf chrome.manifest . Firefox SDK / . Firefox . jpm xpi xpi .xpi . jpm run Firefox .

/ Restartless

Bootstrap / Restartless . .xpi .

/ / XUL

/ / XUL .

Firefox Release Beta Extension 48 Extension Mozilla . AMO . Firefox . 43 Firefox Mozilla . Mozilla . about:config .signatures.required false Firefox ( : Firefox Developer Edition , Firefox https://riptutorial.com/ko/home 4 Nightly , Unbranded Beta Unbranded Release ) Extension . 43-48 . 48 Firefox .

. Firefox . . Firefox . . Firefox . Firefox .

.

1. 2. ( ) : Firefox . 3. jpm run ( Add-on SDK ) : Firefox . 4. web-ext run ( WebExtensions ) : Firefox . .

(, .xpi ) Firefox . AMO . ( , , , OS ) .

Firefox .xpi . Windows Windows . . , Firefox Firefox / . .xpi /browser/extensions jpm run (Firefox SDK ) .

/ , ( / / install.rdf ) ) . ( ). Firefox .

:

Firefox Release Beta Extension 48 Extension Mozilla . AMO . Firefox . 43 Firefox Mozilla . Mozilla . about:config xpinstall.signatures.required false Firefox ( : Firefox Developer Edition , Firefox Nightly , Unbranded Beta Unbranded Release ) Extension . 43-48 . 48 Firefox .

Firefox . Firefox ? .

. Firefox . . Firefox . . Firefox . Firefox . ( )

WebExtensions, Firefox Add-on SDK Restartless / Bootstrap about:debugging Temporary Add- ons . Firefox . ( ) ( : .xpi ) .

. firefox-addon : https://riptutorial.com/ko/firefox-addon/topic/3235/firefox-addon-

https://riptutorial.com/ko/home 5 S. Contributors No

1 firefox-addon Community, Makyen, Martin Zhai, nus, Ondřej Doněk, Priya

https://riptutorial.com/ko/home 6