Specifications
Chapter 4 Allowing Specic Protocols, CSS Styles, and HTML Tags and Attributes 59
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.
com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>protocols</key>
<array>
allowed protocols
</array>
<key>styles</key>
<array>
allowed CSS styles
</array>
<key>tags</key>
<dict>
allowed HTML tags and attributes
</dict>
</dict>
</plist>
Replace allowed protocols, allowed CSS styles, and allowed HTML tags and attributes with
values described in the following sections.
The dict contains several key/value blocks that allow specic protocols, styles, tags, or
attributes.
Allowing Specic URL Protocols
To allow specic URL protocols, add strings with the protocols’ names to the protocols
block.
For example, to allow entry of URLs that start with “irc://” and “scp://”, create the
following block:
<key>protocols</key>
<array>
<string>irc</string>
<string>scp</string>
</array>
Allowing Specic CSS Styles
To allow specic CSS style attributes, add strings with the style attributes’ names to the
styles block.
For example, to allow the use of the font-size style attribute, create the following block: