Customize Reader Safari Extension

Last Revision:
Version 1.0, 2012-06-11
This extension demonstrates how to inject extension content style sheets and scripts into Safari Reader.
Build Requirements:
Safari 6.0 or later
Runtime Requirements:
Safari 6.0 or later

This extension demonstrates how to inject extension content style sheets into Reader in order to change the font used by Reader. In response to the user changing an extension setting in the Safari Extensions Preference Pane, the extension changes the extension content style sheets it injects (targeted to only be injected into Reader pages). It also demonstrates how to send messages back and forth between the application layer (e.g. the global page) and content scripts injected in Reader.