📜 ⬆️ ⬇️

XUL Gear's visual editor has become an extension of Firefox

Looking for tools to make life easier for a novice developer of extensions for Firefox, I came across XULPIX, a simple but powerful enough visual editor for developing graphical user interfaces based on XUL. Since then, I have been following the difficult fate of the project - the author was unable to develop it. After being transferred to another developer, the project was renamed XUL Gear and, after a long stagnation, the tool was released as an extension to Firefox.


XML-based XUL is used to describe user interfaces in Mozilla products, such as Firefox and Thunderbird. The Gecko engine renders not only the contents of the browser window, but also the user interface of the application itself. You can develop both stand-alone solutions based on XULRunner and extensions to existing applications, such as Firefox or Thunderbird.

The logic of extensions is described using JavaScript, about which almost every pioneer who tried to create a “beautiful” home page has an idea. But XUL is not so widespread, although its basic principles are just as simple and understandable to everyone who has dealt with markup languages. From the point of view of the available knowledge, I was not very different from the pioneer, so for studying XUL and speeding up development, I wanted to use a visual editor that prompts you to the available opportunities and quickly shows the result.
')
XUL Gear is great for playing such an editor. For the selected element, it lists the available attributes, styles, and events, and also lists the available nested elements. It is a pity that there is no integrated reference that describes their purpose in more detail.

View results is available instantly, it provides the same Gecko, as in the "combat" version, so everything looks for real.

image

There are a couple of videos on YouTube that will give you a better idea:





XUL Gear addons.mozilla.org

My thanks:

PS Create your own extension for Firefox, it's easy!

Source: https://habr.com/ru/post/94988/


All Articles