# Embedded Firefox XUL Support [edit]

- Trac Ticket: http://www.aptana.com/trac/ticket/499

## Embedded Firefox XUL Support

- An embedded XUL-based Firefox browser will be available to preview content from the HTML Editor.
- A preference page will also be added to allow configuration of what preview browsers are displayed in the HTML editor.
- The Firefox browser will also come with a DOM outline in the Outline view which will show the rendered DOM being displayed in the browser.
- Selections made to the Firefox outline will highlight the node in the browser.
- An extension point will be created that will allow browsers and outlines to be contributed to the HTML editor.

## Install requirements

- Build 0.2.8.13195 or later is required for the XUL feature. You can update to this build by updating to the latest "nightly" release.

## Installing the Firefox XUL feature

Important Note: This feature is currently available for Windows. Linux users have Firefox installed by default.

- From inside Eclipse/Aptana select Help->Software Updates->Find and Install...
- Select Search for new features to install and select Next
- Add the following as a remote site by using the "New Remote Site..." button: http://update.aptana.com/update/xul
- Make sure only the new site created is checked and select Finish
- Install the feature listed
- Important: Select No when prompted to restart after installation has completed and follow post install steps.
- Post install steps (only needed to be performed once):
  - Aptana standalone users:
    - Close Aptana
    - Open a Command Prompt and navigate the to directory containing Aptana
    - Run the following command: "aptana -clean". This is required to pick up new changes to the Eclipse browser plug-in.
  - Aptana plug-in users:
    - Close Eclipse
    - Open a Command Prompt and navigate to the directory containing Eclipse
    - Run the following command: "eclipse -clean". This is required to pick up new changes to the Eclipse browser plug-in.

- To enable browser:
  - Go to Window->Preferences
  - Open the Aptana->Editors->HTML Editor->Preview preference page
  - Check the box for Firefox and select OK.
  - Open a file in the HTML editor and the Firefox preview will be there

Retrieved from "http://aptana.com/docs/index.php/Embedded_Firefox_XUL_Support"