Labs/Ubiquity/Locked-Down Feed Tutorial: Difference between revisions

added section on limitations
(added section on DOs and modifiers)
(added section on limitations)
Line 84: Line 84:
});
});
</pre>
</pre>
== Limitations ==
Because LD feeds are so secure, they have lots of limitations. For instance:
* Any HTML content inserted into the current selection, the preview area, or anything else is automatically sanitized to prevent against [http://en.wikipedia.org/wiki/Code_injection code injection] attacks. This means that lots of types of HTML elements can't be used, e.g. the <code>&lt;img&gt;</code> tag.
* No access to the network can be made, though this restriction may be lifted in the future.
* It's not possible to cite other JS files as dependencies, though this restriction may be lifted in the future.
* It's not possible for commands to [[Labs/Ubiquity/Ubiquity_Source_Tip_Author_Tutorial#Running_on_page_load_and_startup|run on page load or startup]].


== External Resources ==
== External Resources ==
874

edits