Labs/F1/Modularity/WebMod HOWTO: Difference between revisions

Line 42: Line 42:


The above manifest indicates that the fictitious ShareBook web site provides a <tt>link.share</tt> WebMod service. When the browser wishes to access that API, it will load <tt>https://sharebook.example.com/webmods/link-share</tt> into an IFRAME and communicate with it, as described above, using <tt>postMessage()</tt>.
The above manifest indicates that the fictitious ShareBook web site provides a <tt>link.share</tt> WebMod service. When the browser wishes to access that API, it will load <tt>https://sharebook.example.com/webmods/link-share</tt> into an IFRAME and communicate with it, as described above, using <tt>postMessage()</tt>.
The manifest also indicates that the service provides a login dialog at the url <tt>/login</tt>. Details on this process are provided below.


== Implementing a WebMod ==
== Implementing a WebMod ==
668

edits