publilosa.blogg.se

Phony plugin for mozilla firefox for android
Phony plugin for mozilla firefox for android











phony plugin for mozilla firefox for android

If there are no alarms available, we’re just showing “no items available”. If there are, we’re looping over them and displaying them using the appendItem helper function, which just appends an HTML list element li to #alarmsList. We’re then checking if there are any alarms. When the document is ready, we’re using to get the alarms created by the user. You’ll also need to include this file in popup.html. Then add a manifest.json with the following content: Recommended sizes to add are 16px, 32px, 48px, and 128px.įor our add-on, let’s start by creating a folder named firefox-alarms-addon. These icons will be used in the settings, toolbar of the browser, and other places as well. icons: a list of icons of different sizes.description: a short description for your add-on that explains its purpose.The following two are optional but recommended: These’re the mandatory fields for any add-on. However, if future support for V3 is added, the value can be 3 as well. manifest_version: at the time of writing, Firefox only supports Manifest V2, so the value for this should be 2.When updating anything in the extension, you’ll need to update this version, so it’s recommended to start low. version: the current version of the add-on.name: the name of the add-on in slug format - such as my-extension.The basic format of a manifest.json file should include the following keys: This file is the only file required for a Firefox add-on. The first step to create a Firefox add-on is to create the manifest.json file.













Phony plugin for mozilla firefox for android