OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 5784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5795 }, | 5795 }, |
5796 "description": { | 5796 "description": { |
5797 "type": "string", | 5797 "type": "string", |
5798 "optional": true, | 5798 "optional": true, |
5799 "description": "A human readable description of the resource." | 5799 "description": "A human readable description of the resource." |
5800 } | 5800 } |
5801 }, | 5801 }, |
5802 "description": "Currently, no content types use resource identifiers." | 5802 "description": "Currently, no content types use resource identifiers." |
5803 }, | 5803 }, |
5804 { | 5804 { |
5805 "id": "Pattern", | |
5806 "type": "object", | |
5807 "properties": { | |
5808 "pattern": { | |
5809 "type": "string", | |
5810 "description": "The pattern string. The pattern should never be cons
tructed directly, but should always be derived from an URL using the methods in
the <var>contentSettings.patterns</var> module." | |
5811 } | |
5812 } | |
5813 }, | |
5814 { | |
5815 "id": "ContentSettingRule", | 5805 "id": "ContentSettingRule", |
5816 "type": "object", | 5806 "type": "object", |
5817 "properties": { | 5807 "properties": { |
5818 "topLevelPattern": { | 5808 "topLevelPattern": { |
5819 "$ref": "Pattern", | 5809 "type": "string", |
5820 "description": "The pattern for the top-level frame URL." | 5810 "description": "The pattern for the top-level frame URL. For details
on the format of a pattern, see <a href='match_patterns.html'>Match Patterns</a
>." |
5821 }, | 5811 }, |
5822 "embeddedPattern": { | 5812 "embeddedPattern": { |
5823 "$ref": "Pattern", | 5813 "type": "string", |
5824 "description": "The pattern for the frame or object URL." | 5814 "description": "The pattern for the frame or object URL. For details
on the format of a pattern, see <a href='match_patterns.html'>Match Patterns</a
>." |
5825 }, | 5815 }, |
5826 "resourceIdentifier": { | 5816 "resourceIdentifier": { |
5827 "$ref": "ResourceIdentifier", | 5817 "$ref": "ResourceIdentifier", |
5828 "optional": true, | 5818 "optional": true, |
5829 "description": "The resource identifier for the content type." | 5819 "description": "The resource identifier for the content type." |
5830 }, | 5820 }, |
5831 "setting": { | 5821 "setting": { |
5832 "type": "any", | 5822 "type": "any", |
5833 "description": "The setting applied by this rule. See the descriptio
n of the individual ContentSetting objects for the possible values." | 5823 "description": "The setting applied by this rule. See the descriptio
n of the individual ContentSetting objects for the possible values." |
5834 } | 5824 } |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5913 { | 5903 { |
5914 "name": "set", | 5904 "name": "set", |
5915 "type": "function", | 5905 "type": "function", |
5916 "description": "Apply a new content setting rule.", | 5906 "description": "Apply a new content setting rule.", |
5917 "parameters": [ | 5907 "parameters": [ |
5918 { | 5908 { |
5919 "name": "details", | 5909 "name": "details", |
5920 "type": "object", | 5910 "type": "object", |
5921 "properties": { | 5911 "properties": { |
5922 "topLevelPattern": { | 5912 "topLevelPattern": { |
5923 "$ref": "Pattern", | 5913 "type": "string", |
5924 "description": "The pattern for the top-level frame URL." | 5914 "description": "The pattern for the top-level frame URL. For
details on the format of a pattern, see <a href='match_patterns.html'>Match Pat
terns</a>." |
5925 }, | 5915 }, |
5926 "embeddedPattern": { | 5916 "embeddedPattern": { |
5927 "$ref": "Pattern", | 5917 "type": "string", |
5928 "description": "The pattern for the frame or object URL." | 5918 "description": "The pattern for the frame or object URL. For
details on the format of a pattern, see <a href='match_patterns.html'>Match Pat
terns</a>." |
5929 }, | 5919 }, |
5930 "resourceIdentifier": { | 5920 "resourceIdentifier": { |
5931 "$ref": "ResourceIdentifier", | 5921 "$ref": "ResourceIdentifier", |
5932 "optional": true, | 5922 "optional": true, |
5933 "description": "The resource identifier for the content type
." | 5923 "description": "The resource identifier for the content type
." |
5934 }, | 5924 }, |
5935 "setting": { | 5925 "setting": { |
5936 "type": "any", | 5926 "type": "any", |
5937 "description": "The setting applied by this rule. See the de
scription of the individual ContentSetting objects for the possible values." | 5927 "description": "The setting applied by this rule. See the de
scription of the individual ContentSetting objects for the possible values." |
5938 }, | 5928 }, |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6165 { | 6155 { |
6166 "type": "integer", | 6156 "type": "integer", |
6167 "name": "tabId", | 6157 "name": "tabId", |
6168 "description": "The id of the tab that was detached." | 6158 "description": "The id of the tab that was detached." |
6169 } | 6159 } |
6170 ] | 6160 ] |
6171 } | 6161 } |
6172 ] | 6162 ] |
6173 } | 6163 } |
6174 ] | 6164 ] |
OLD | NEW |