javascript.options.showInConsole = true. Logs errors in chrome files to the Error Console. nglayout.debug.disable_xul_cache = true. Disables the XUL cache so that changes to windows and dialogs do not require a restart. This assumes you're using directories rather than JARs. Changes to XUL overlays will still require reloading of the document overlaid. browser.dom.window.dump.enabled = true. Enables the use of the dump() statement to print to the standard console. See window.dump
for more info. You can also use nsIConsoleService
from privileged script. javascript.options.strict = true. Enables strict JavaScript warnings in the Error Console. Note that since many people have this setting turned off when developing, you will see lots of warnings for problems with their code in addition to warnings for your own extension. You can filter those with Console2. extensions.logging.enabled = true. This will send more detailed information about installation and update problems to the Error Console.
This is really an embarrassing week for Google due to some breakups with their partners. Few days back news came from Mozilla Firefox that from 2015 Yahoo will be their default search engine. Google has been the default search engine for Mozilla since 2004 but this time in the year of renewal Mozilla has decided to break the pact and chosen to go with Yahoo.
The updateURL uses https, or there is no updateURL at all (which defaults to addons.mozilla.org which is https)
The updateURL uses http and the updateKey entry is specified which will be used to verify the data in the update manifest.
In the update manifest delivered from the updateURL the updateLink must be specified in one of the following ways:
The updateLink to the XPI file must use https
The updateLink can use http and you must include an updateHash for the XPI file using sha1, sha256, sha384 or sha512 hash algorithms.
XRAY is a bookmarklet for Internet Explorer 6+, and Webkit and Mozilla based browsers (including Safari, Firefox, Camino or Mozilla). Use it to see the box model for any element on any web page.
The next release of Weave (any day now) is expected to include P2P sharing of bookmark folders via XMPP, on top of the ability to synchronize your bookmarks, browsing history, and even your cookies, passwords, and form data...
Your server should serve OpenSearch plugins using the MIME type application/opensearchdescription+xml. Be sure that your Search Plugin XML is well formed. You can check by loading the file directly into Firefox. Ampersands in the template URL need to be escaped with & and tags need to be closed with a trailing slash or matching end tag. The xmlns attribute is important, without it you could get an error message indicating that "Firefox could not download the search plugin from: (URL)". Note that you must include a text/html URL — search plugins including only Atom or RSS URL types (which is valid, but Firefox doesn't support) will also generate the "could not download the search plugin" error. Remotely fetched favicons must not be larger than 10KB
Once you have a key you need to add its public part to your add-on's install.rdf file. The simplest way to do this is to select
the key then click the Install toolbar button. You must then locate
your install.rdf for McCoy and the public part of the key will be added
directly to the file. The file will be overwritten so take a backup if you need
to.
You need to use McCoy to sign this file so that the application can verify that
it really came from you. Simply select the key you originally added to the
add-on's install.rdf, then click the "Sign" toolbar button, select your
update.rdf file and the data in it will be signed. It's important to
note that if you change any information in the update file then it must be
signed again.
The Jetpack SDK includes:
An extensible library of capabilities and APIs for writing Firefox add-ons, as well as stand-alone web-based applications
A set of command-line tools that package and security-harden your code into distributable packages
A modern IDE with built-in reference guide for instant productivity
An easy to use, well documented set of APIs that lets you write Firefox add-ons using standard Web technology (Javascript, HTML5, and CSS).
An integrated IDE that enables rapid add-on developement and code collaboration.
Add-ons developed with the Jetpack SDK will feature:
No need to restart Firefox to install add-ons.
Add-ons are automatically compatible with all future versions of Firefox updates, so no need to wait for add-on compatability.
Stronger and more easily understood security and privacy controls.
Automatic add-on updates.
« Writing efficient user interfaces is the main maxim, here at Vimperator labs. We often follow the Vim way of doing things, but extend its principles when necessary.
Towards this end, we've created the liberator library for Mozilla based applications, to encapsulate as many of these generic principles as possible, and liberate developers from the tedium of reinventing the wheel. »