| 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 5844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5855 }, | 5855 }, |
| 5856 { | 5856 { |
| 5857 "name": "get", | 5857 "name": "get", |
| 5858 "type": "function", | 5858 "type": "function", |
| 5859 "description": "Get the current content setting for a given pair of
URLs.", | 5859 "description": "Get the current content setting for a given pair of
URLs.", |
| 5860 "parameters": [ | 5860 "parameters": [ |
| 5861 { | 5861 { |
| 5862 "name": "details", | 5862 "name": "details", |
| 5863 "type": "object", | 5863 "type": "object", |
| 5864 "properties": { | 5864 "properties": { |
| 5865 "embeddedUrl": { | 5865 "primaryUrl": { |
| 5866 "type": "string", | 5866 "type": "string", |
| 5867 "description": "The URL of the frame or object for which the
content settings should be retrieved." | 5867 "description": "The primary URL for which the content settin
g should be retrieved. Note that the meaning of a primary URL depends on the con
tent type." |
| 5868 }, | 5868 }, |
| 5869 "topLevelUrl": { | 5869 "secondaryUrl": { |
| 5870 "type": "string", | 5870 "type": "string", |
| 5871 "description": "The URL of the top-level frame." | 5871 "description": "The secondary URL for which the content sett
ing should be retrieved. Defaults to the primary URL. Note that the meaning of a
secondary URL depends on the content type, and not all content types use second
ary URLs.", |
| 5872 "optional": true |
| 5872 }, | 5873 }, |
| 5873 "resourceIdentifier": { | 5874 "resourceIdentifier": { |
| 5874 "$ref": "ResourceIdentifier", | 5875 "$ref": "ResourceIdentifier", |
| 5875 "optional": true, | 5876 "optional": true, |
| 5876 "description": "A more specific identifier of the type of co
ntent for which the settings should be retrieved." | 5877 "description": "A more specific identifier of the type of co
ntent for which the settings should be retrieved." |
| 5877 }, | 5878 }, |
| 5878 "incognito": { | 5879 "incognito": { |
| 5879 "type": "boolean", | 5880 "type": "boolean", |
| 5880 "optional": true, | 5881 "optional": true, |
| 5881 "description": "Whether to check the content settings for an
incognito session. (default false)" | 5882 "description": "Whether to check the content settings for an
incognito session. (default false)" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 5902 }, | 5903 }, |
| 5903 { | 5904 { |
| 5904 "name": "set", | 5905 "name": "set", |
| 5905 "type": "function", | 5906 "type": "function", |
| 5906 "description": "Apply a new content setting rule.", | 5907 "description": "Apply a new content setting rule.", |
| 5907 "parameters": [ | 5908 "parameters": [ |
| 5908 { | 5909 { |
| 5909 "name": "details", | 5910 "name": "details", |
| 5910 "type": "object", | 5911 "type": "object", |
| 5911 "properties": { | 5912 "properties": { |
| 5912 "topLevelPattern": { | 5913 "primaryPattern": { |
| 5913 "type": "string", | 5914 "type": "string", |
| 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>." | 5915 "description": "The pattern for the primary URL. For details
on the format of a pattern, see <a href='match_patterns.html'>Match Patterns</a
>." |
| 5915 }, | 5916 }, |
| 5916 "embeddedPattern": { | 5917 "secondaryPattern": { |
| 5917 "type": "string", | 5918 "type": "string", |
| 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>." | 5919 "description": "The pattern for the secondary URL. Defaults
to matching all URLs. For details on the format of a pattern, see <a href='match
_patterns.html'>Match Patterns</a>.", |
| 5920 "optional": true |
| 5919 }, | 5921 }, |
| 5920 "resourceIdentifier": { | 5922 "resourceIdentifier": { |
| 5921 "$ref": "ResourceIdentifier", | 5923 "$ref": "ResourceIdentifier", |
| 5922 "optional": true, | 5924 "optional": true, |
| 5923 "description": "The resource identifier for the content type
." | 5925 "description": "The resource identifier for the content type
." |
| 5924 }, | 5926 }, |
| 5925 "setting": { | 5927 "setting": { |
| 5926 "type": "any", | 5928 "type": "any", |
| 5927 "description": "The setting applied by this rule. See the de
scription of the individual ContentSetting objects for the possible values." | 5929 "description": "The setting applied by this rule. See the de
scription of the individual ContentSetting objects for the possible values." |
| 5928 }, | 5930 }, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5983 }, | 5985 }, |
| 5984 "hyperlinkAuditingEnabled": { | 5986 "hyperlinkAuditingEnabled": { |
| 5985 "$ref": "ChromeSetting", | 5987 "$ref": "ChromeSetting", |
| 5986 "value": ["hyperlinkAuditingEnabled", {"type":"boolean"}], | 5988 "value": ["hyperlinkAuditingEnabled", {"type":"boolean"}], |
| 5987 "description": "Whether to enable hyperlink auditing (\"<a ping&g
t;\"). The value of this preference is of type boolean, and the default value is
true." | 5989 "description": "Whether to enable hyperlink auditing (\"<a ping&g
t;\"). The value of this preference is of type boolean, and the default value is
true." |
| 5988 } | 5990 } |
| 5989 } | 5991 } |
| 5990 }, | 5992 }, |
| 5991 "cookies": { | 5993 "cookies": { |
| 5992 "$ref": "ContentSetting", | 5994 "$ref": "ContentSetting", |
| 5993 "description": "Whether to allow cookies and other local data to be set
by websites. One of<br><var>allow</var>: Accept cookies,<br><var>block</var>: Bl
ock cookies,<br><var>session_only</var>: Accept cookies only for the current ses
sion. Default is <var>allow</var>.", | 5995 "description": "Whether to allow cookies and other local data to be set
by websites. One of<br><var>allow</var>: Accept cookies,<br><var>block</var>: Bl
ock cookies,<br><var>session_only</var>: Accept cookies only for the current ses
sion. Default is <var>allow</var>.<br>The primary URL is the URL representing th
e cookie origin. The secondary URL is the URL of the top-level frame.", |
| 5994 "value": [ | 5996 "value": [ |
| 5995 "cookies", | 5997 "cookies", |
| 5996 {"type":"string", "enum": ["allow", "block", "session_only"]} | 5998 {"type":"string", "enum": ["allow", "block", "session_only"]} |
| 5997 ] | 5999 ] |
| 5998 }, | 6000 }, |
| 5999 "images": { | 6001 "images": { |
| 6000 "$ref": "ContentSetting", | 6002 "$ref": "ContentSetting", |
| 6001 "description": "Whether to show images. One of<br><var>allow</var>: Show
images,<br><var>block</var>: Don't show images. Default is <var>allow</var>.", | 6003 "description": "Whether to show images. One of<br><var>allow</var>: Show
images,<br><var>block</var>: Don't show images. Default is <var>allow</var>.<br
>The primary URL is the main-frame URL. The secondary URL is not used.", |
| 6002 "value": [ | 6004 "value": [ |
| 6003 "images", | 6005 "images", |
| 6004 {"type":"string", "enum": ["allow", "block"]} | 6006 {"type":"string", "enum": ["allow", "block"]} |
| 6005 ] | 6007 ] |
| 6006 }, | 6008 }, |
| 6007 "javascript": { | 6009 "javascript": { |
| 6008 "$ref": "ContentSetting", | 6010 "$ref": "ContentSetting", |
| 6009 "description": "Whether to run Javascript. One of<br><var>allow</var>: R
un Javascript,<br><var>block</var>: Don't run Javascript. Default is <var>allow<
/var>.", | 6011 "description": "Whether to run Javascript. One of<br><var>allow</var>: R
un Javascript,<br><var>block</var>: Don't run Javascript. Default is <var>allow<
/var>.<br>The primary URL is the main-frame URL. The secondary URL is not used."
, |
| 6010 "value": [ | 6012 "value": [ |
| 6011 "javascript", | 6013 "javascript", |
| 6012 {"type":"string", "enum": ["allow", "block"]} | 6014 {"type":"string", "enum": ["allow", "block"]} |
| 6013 ] | 6015 ] |
| 6014 }, | 6016 }, |
| 6015 "plugins": { | 6017 "plugins": { |
| 6016 "$ref": "ContentSetting", | 6018 "$ref": "ContentSetting", |
| 6017 "description": "Whether to run plug-ins. One of<br><var>allow</var>: Run
plug-ins automatically,<br><var>block</var>: Don't run plug-ins automatically.
Default is <var>allow</var>.", | 6019 "description": "Whether to run plug-ins. One of<br><var>allow</var>: Run
plug-ins automatically,<br><var>block</var>: Don't run plug-ins automatically.
Default is <var>allow</var>.<br>The primary URL is the main-frame URL. The secon
dary URL is not used.", |
| 6018 "value": [ | 6020 "value": [ |
| 6019 "plugins", | 6021 "plugins", |
| 6020 {"type":"string", "enum": ["allow", "block"]} | 6022 {"type":"string", "enum": ["allow", "block"]} |
| 6021 ] | 6023 ] |
| 6022 }, | 6024 }, |
| 6023 "popups": { | 6025 "popups": { |
| 6024 "$ref": "ContentSetting", | 6026 "$ref": "ContentSetting", |
| 6025 "description": "Whether to allow sites to show pop-ups. One of<br><var>a
llow</var>: Allow sites to show pop-ups,<br><var>block</var>: Don't allow sites
to show pop-ups. Default is <var>block</var>.", | 6027 "description": "Whether to allow sites to show pop-ups. One of<br><var>a
llow</var>: Allow sites to show pop-ups,<br><var>block</var>: Don't allow sites
to show pop-ups. Default is <var>block</var>.<br>The primary URL is the main-fra
me URL. The secondary URL is not used.", |
| 6026 "value": [ | 6028 "value": [ |
| 6027 "popups", | 6029 "popups", |
| 6028 {"type":"string", "enum": ["allow", "block"]} | 6030 {"type":"string", "enum": ["allow", "block"]} |
| 6029 ] | 6031 ] |
| 6030 }, | 6032 }, |
| 6031 "notifications": { | 6033 "notifications": { |
| 6032 "$ref": "ContentSetting", | 6034 "$ref": "ContentSetting", |
| 6033 "description": "Whether to allow sites to show desktop notifications. On
e of<br><var>allow</var>: Allow sites to show desktop notifications,<br><var>blo
ck</var>: Don't allow sites to show desktop notifications,<br><var>ask</var>: As
k when a site wants to show desktop notifications. Default is <var>ask</var>.", | 6035 "description": "Whether to allow sites to show desktop notifications. On
e of<br><var>allow</var>: Allow sites to show desktop notifications,<br><var>blo
ck</var>: Don't allow sites to show desktop notifications,<br><var>ask</var>: As
k when a site wants to show desktop notifications. Default is <var>ask</var>.<br
>The primary URL is the main-frame URL. The secondary URL is not used.", |
| 6034 "value": [ | 6036 "value": [ |
| 6035 "notifications", | 6037 "notifications", |
| 6036 {"type":"string", "enum": ["allow", "block", "ask"]} | 6038 {"type":"string", "enum": ["allow", "block", "ask"]} |
| 6037 ] | 6039 ] |
| 6038 } | 6040 } |
| 6039 } | 6041 } |
| 6040 }, | 6042 }, |
| 6041 { | 6043 { |
| 6042 "namespace": "experimental.debugger", | 6044 "namespace": "experimental.debugger", |
| 6043 "functions": [ | 6045 "functions": [ |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6260 "type": "function", | 6262 "type": "function", |
| 6261 "name": "callback", | 6263 "name": "callback", |
| 6262 "optional": true, | 6264 "optional": true, |
| 6263 "description": "A callback when the function is complete. Any errors
will be reported in <a href='extension.html#property-lastError'>chrome.extensio
n.lastError</a>." | 6265 "description": "A callback when the function is complete. Any errors
will be reported in <a href='extension.html#property-lastError'>chrome.extensio
n.lastError</a>." |
| 6264 } | 6266 } |
| 6265 ] | 6267 ] |
| 6266 } | 6268 } |
| 6267 ] | 6269 ] |
| 6268 } | 6270 } |
| 6269 ] | 6271 ] |
| OLD | NEW |