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 3174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3185 "description": "Fires when a navigation is committed. The document (and
the resources it refers to, such as images and subframes) might still be downloa
ding, but at least part of the document has been received from the server and th
e browser has decided to switch to the new document.", | 3185 "description": "Fires when a navigation is committed. The document (and
the resources it refers to, such as images and subframes) might still be downloa
ding, but at least part of the document has been received from the server and th
e browser has decided to switch to the new document.", |
3186 "parameters": [ | 3186 "parameters": [ |
3187 { | 3187 { |
3188 "type": "object", | 3188 "type": "object", |
3189 "name": "details", | 3189 "name": "details", |
3190 "properties": { | 3190 "properties": { |
3191 "tabId": {"type": "integer", "description": "The ID of the tab in
which the navigation occurs."}, | 3191 "tabId": {"type": "integer", "description": "The ID of the tab in
which the navigation occurs."}, |
3192 "url": {"type": "string"}, | 3192 "url": {"type": "string"}, |
3193 "frameId": {"type": "integer", "description": "0 indicates the nav
igation happens in the tab content window; positive value indicates navigation i
n a subframe."}, | 3193 "frameId": {"type": "integer", "description": "0 indicates the nav
igation happens in the tab content window; positive value indicates navigation i
n a subframe."}, |
3194 "transitionType": {"type": "string", "enum": ["link", "typed", "au
to_bookmark", "auto_subframe", "manual_subframe", "generated", "start_page", "fo
rm_submit", "reload", "keyword", "keyword_generated"], "description": "Cause of
the navigation. The same transition types as defined in the history API are used
."}, | 3194 "transitionType": {"type": "string", "enum": ["link", "typed", "au
to_bookmark", "auto_subframe", "manual_subframe", "generated", "start_page", "fo
rm_submit", "reload", "keyword", "keyword_generated"], "description": "Cause of
the navigation. The same transition types as defined in the history API are used
."}, |
3195 "transitionQualifiers": {"type": "string", "description": "Zero or
more transition qualifiers delimited by \"|\". Possible qualifiers are \"client
_redirect\", \"server_redirect\", and \"forward_back\"."}, | 3195 "transitionQualifiers": {"type": "string", "enum": ["client_redire
ct", "server_redirect", "forward_back"], "description": "Zero or more transition
qualifiers delimited by \"|\". Possible qualifiers are \"client_redirect\", \"s
erver_redirect\", and \"forward_backward\"."}, |
3196 "timeStamp": {"type": "number", "description": "The time when the
navigation was committed, in milliseconds since the epoch."} | 3196 "timeStamp": {"type": "number", "description": "The time when the
navigation was committed, in milliseconds since the epoch."} |
3197 } | 3197 } |
3198 } | 3198 } |
3199 ] | 3199 ] |
3200 }, | 3200 }, |
3201 { | 3201 { |
3202 "name": "onDOMContentLoaded", | 3202 "name": "onDOMContentLoaded", |
3203 "type": "function", | 3203 "type": "function", |
3204 "description": "Fires when the page's DOM is fully constructed, but the
referenced resources may not finish loading.", | 3204 "description": "Fires when the page's DOM is fully constructed, but the
referenced resources may not finish loading.", |
3205 "parameters": [ | 3205 "parameters": [ |
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4109 "name": "setStoreLogin", | 4109 "name": "setStoreLogin", |
4110 "description": "Set a preference value with the store login.", | 4110 "description": "Set a preference value with the store login.", |
4111 "parameters": [ | 4111 "parameters": [ |
4112 { "name": "login", "type": "string" }, | 4112 { "name": "login", "type": "string" }, |
4113 { "name": "callback", "type": "function", "optional": "true" } | 4113 { "name": "callback", "type": "function", "optional": "true" } |
4114 ] | 4114 ] |
4115 } | 4115 } |
4116 ] | 4116 ] |
4117 } | 4117 } |
4118 ] | 4118 ] |
OLD | NEW |