background preloader

Xul

Facebook Twitter

Gui

Ted's Mozilla page - Extension Developer's Extension. Embedding FAQ:How do I... - MDC. What is a service? A service is a singleton object implementing one or more XPCOM interfaces and registered with Gecko during startup. Normally it provide some functionality that is required from lots of places such as looking up preference settings, creating new windows, locating files, displaying prompt or password dialog boxes and so on. Embedders may wish to override some of the default service implementations with their own. For example, the default prompt service uses XUL to render prompt dialogs and embedders may wish to render them in a way more appropriate for their application and platform.. How do I load a page? Get thensIWebNavigation interface on your webbrowser and call the loadURI method with the appropriate URI and flags. How do I block a load? Implement the nsIWebProgressListener interface and register it with the appropriate web browser object via the nsIWebBrowser::addWebBrowserListener() method.

How do I watch/intercept a load before it happens? How do I print a page? Amazon search xul. How to create Firefox extensions. Extensions - MDC. Modify and extend Mozilla applications Add-ons add new functionality to Gecko-based applications such as Firefox, SeaMonkey, and Thunderbird. There are two main types of add-on: Extensions add new features to the application, while Themes modify the application's user interface. Add-ons can greatly affect the behavior of the application that hosts them.

We've developed a set of guidelines to help ensure that they provide a good experience to users. These guidelines apply for all sorts of add-ons, whether they are hosted at addons.mozilla.org or not. Extensions Extensions add new functionality to Mozilla applications such as Firefox and Thunderbird. There are three different techniques you can use to build extensions: Add-on SDK-based extensions, manually bootstrapped restartless extensions, and legacy extensions. Add-on SDK extensions Extensions built using a set of high-level JavaScript APIs, which don't require a browser restart to install. WebExtensions Debugging Recommended practices. Useragentswitcher: index. Mozilla + Firefox extension development. Extension development. From MozillaZine Knowledge Base (Redirected from Dev : Extensions) Introduction Extensions allow programmers to add new features to Mozilla applications or allow existing features to be modified.

Typically, extensions modify the “chrome” of their target application—the user interface and the scripts that add functionalty to that interface. Extension technologies You will almost certainly need to use the following technologies, although it is not necessary to be an expert in them. XUL (XML User-Interface Language). More advanced extensions may require the following technologies. XBL (XML Binding Language). Getting started Setting up your environment Please see Setting up extension development environment for development preferences you can set and extensions you can install.

Tutorials There is a variety of third-party tutorials available which will help with general extension development or with learning specific technologies. On this Knowledge Base and Mozilla's website: On other websites: Books. Packaging Firefox/Thunderbird Extensions. Ben Goodger, 05/17/2004 Introduction This document describes how to create extensions for Firefox 0.9 and newer, and Thunderbird 0.7 and newer. Pre-requisites You must know XUL, JavaScript and other languages/technologies that are required to put your extension together.

There are plenty of resources that describe this, and much sample code. This document focuses on how to package XUL, JS and other components together into an extension. Extension File Layout New Firefox/Thunderbird extensions are laid out like so: extension.xpi: install.rdf chrome/extension.jar components/extension.dll components/extension.js defaults/extension.something defaults/preferences/extension.js install.js scripts are no longer used for Firefox and Thunderbird extensions. The layout of your files within the XPI is now enforced. Install.rdf Your install.rdf manifest will look something like this: Compulsory install.rdf Properties Your install.rdf file must have these properties: em:id em:version <em:version>4.6</em:version> XULPlanet.com. XUL:Lib XUL. Authors: Benjamin Smedberg and Darin Fisher libxul is one of the core elements of the Mozilla 2.0 planning effort. It is a library that provides frozen API for XUL apps and embedders of gecko.

The end-goal is to provide a library that only exports frozen symbols. This does not mean that all the *interfaces* would be frozen, but only that the link-time symbols would be few, well-defined, and frozen. Right now the ordinary mozilla build has many shared libraries, both "components" and "dependent libraries" that make up gecko. libxul intends to replace this mix of shared libraries with, a static build of "gecko" including XPCOM, networking, DOM, layout, rendering, and embedding modules in one shared library. It would be madness to attempt a dramatic change in our linking strategy and build system all at once. In addition, some (many?) The Incremental Game Plan Already completed: combine libs from tier 1/2/9 into one "libxul". Appendix A: Maintaining the Developer Build.

Xul.html. Others Online. Privacy and Security Add-ons for Firefox 2. I thought that it would be a nice idea to compile a list of privacy and security related add-ons for Firefox 2.0. The list is not complete but I think I have everything covered with those add-ons, feel free to add your top picks in the comments. Let's go. Please note that while most add-ons have been created for Firefox 2 or previous versions of the browser, they should work just fine in the latest official versions as well.

It is however best to check out the compatibility information on the add-on's pages to make sure it is compatible with your version of Firefox. Browse At Work - Adds an option to use a web proxy for specific requests.Dr. Web Anti-Virus Link checker - Sends a link to a file to the anti-virus checker which scans the content and warns you if malicious content was found.FlashBlock - Block nasty flash ads with this add-on. Takahashi xul presentations.

Outsider reflex.