Labs/Site 2.0/Existing site replacement/Site content/Ubiquity: Difference between revisions

Jump to navigation Jump to search
 
Line 86: Line 86:


=== Write Commands ===
=== Write Commands ===
Ubiquity commands are written in Javascript.  You can open the built-in command editor by running the "open command editor" command.  This is the fastest and easiest way to prototype new commands, as you won't have to restart Firefox or reload anything to see the changes in your commands. The command editor even has a button to import a template so you can
[https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.5_Author_Tutorial The Command Author Tutorial] explains everything you need to know about the API for writing commands and the many features and options that are available to you as a command developer.
If you wish to share your command with others, the above tutorial explains how to do that, too.
You should also read the brief guide to [https://wiki.mozilla.org/Labs/Ubiquity/Secure_Coding_Practices secure coding practices] for Ubiquity commands, which includes making the decision about whether to share your command using the more powerful but less secure Standard Feed, or the more restricted but more secure Locked-Down Feed.
Finally, there is also a [https://wiki.mozilla.org/Labs/Ubiquity/Skins_v0.5 skinning tutorial] that explains how to customize the skin of the Ubiquity interface.


=== Improve Ubiquity ===
=== Improve Ubiquity ===
1,007

edits

Navigation menu