DescriptionSanitizingGadgetRewriter neuters a gadget by removing all css, all javascript and those html tags that aren't on its whitelist. This is used "to create a simple badge like display" useful when low latency and inactive content is require - for example for a view with many gadgets.
This patch provides a lower latency alternative for caja gadgets. It:
* immediately renders the html and inline css portions of a gadget creating the "badge like display" SanitizingGadgetRewriter does
* adds a button to the top of the gadget which when clicked "rehydrates" the gadget and executes all the javascript and renders remaining css styles
Patch Set 1 #
Total comments: 1
Patch Set 2 : Snapshot to head #MessagesTotal messages: 2
|