OLD | NEW |
1 <h1>Frequently Asked Questions</h1> | 1 <h1>Frequently Asked Questions</h1> |
2 | 2 |
3 | 3 |
4 <!-- --> | 4 <!-- --> |
5 | 5 |
6 <p> | 6 <p> |
7 If you don't find an answer to your question here, | 7 If you don't find an answer to your question here, |
8 try the | 8 try the |
9 <a href="http://code.google.com/chrome/webstore/faq.html">Chrome Web Store FAQ</
a>, the | 9 <a href="http://code.google.com/chrome/webstore/faq.html">Chrome Web Store FAQ</
a>, the |
10 <a href="http://stackoverflow.com/questions/tagged/google-chrome-extension">[goo
gle-chrome-extension] tag on Stack Overflow</a>, the | 10 <a href="http://stackoverflow.com/questions/tagged/google-chrome-extension">[goo
gle-chrome-extension] tag on Stack Overflow</a>, the |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 <p> | 82 <p> |
83 Click the Chrome menu icon | 83 Click the Chrome menu icon |
84 <img src="{{static}}/images/hotdogmenu.png" height="29" width="29" alt="" | 84 <img src="{{static}}/images/hotdogmenu.png" height="29" width="29" alt="" |
85 class="nomargin" /> | 85 class="nomargin" /> |
86 and select <b>Extensions</b> from the <b>Tools</b> menu. | 86 and select <b>Extensions</b> from the <b>Tools</b> menu. |
87 Ensure that the "Developer mode" checkbox in the top right-hand corner | 87 Ensure that the "Developer mode" checkbox in the top right-hand corner |
88 is checked. | 88 is checked. |
89 Now you can reload extensions, | 89 Now you can reload extensions, |
90 load an unpacked directory of files as if it were a packaged extension, | 90 load an unpacked directory of files as if it were a packaged extension, |
91 and more. For a complete tutorial, see | 91 and more. For a complete tutorial, see |
92 <a href="http://code.google.com/chrome/extensions/getstarted.html">Getting Sta
rted</a>. | 92 <a href="/extensions/getstarted.html">Getting Started</a>. |
93 </p> | 93 </p> |
94 {{/is_apps}} | 94 {{/is_apps}} |
95 | 95 |
96 <h3 id="faq-gen-02">What technologies are used to write extensions for Chrome?</
h3> | 96 <h3 id="faq-gen-02">What technologies are used to write extensions for Chrome?</
h3> |
97 <p> | 97 <p> |
98 Extensions are written using the same standard web | 98 Extensions are written using the same standard web |
99 technologies that developers use to create websites. HTML is used as a | 99 technologies that developers use to create websites. HTML is used as a |
100 content markup language, CSS is used for styling, and JavaScript for | 100 content markup language, CSS is used for styling, and JavaScript for |
101 scripting. Because Chrome supports HTML5 and CSS3, developers can | 101 scripting. Because Chrome supports HTML5 and CSS3, developers can |
102 use the latest open web technologies such as canvas and CSS animations in | 102 use the latest open web technologies such as canvas and CSS animations in |
103 their extensions. Extensions also have access to several | 103 their extensions. Extensions also have access to several |
104 <a href="http://code.google.com/chrome/extensions/api_other.html">JavaScript A
PIs</a> | 104 <a href="/extensions/api_other.html">JavaScript APIs</a> |
105 that help perform functions like JSON encoding and interacting with the | 105 that help perform functions like JSON encoding and interacting with the |
106 browser. | 106 browser. |
107 </p> | 107 </p> |
108 | 108 |
109 | 109 |
110 <h3 id="faq-gen-03">Are extensions fetched from the web every time the browser i
s loaded?</h3> | 110 <h3 id="faq-gen-03">Are extensions fetched from the web every time the browser i
s loaded?</h3> |
111 <p> | 111 <p> |
112 Extensions are downloaded by the Chrome browser upon install, and | 112 Extensions are downloaded by the Chrome browser upon install, and |
113 are subsequently run off of the local disk in order to speed up | 113 are subsequently run off of the local disk in order to speed up |
114 performance. However, if a new version of the extension is pushed online, | 114 performance. However, if a new version of the extension is pushed online, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 combination. The rest of the information is metadata about when the releases | 155 combination. The rest of the information is metadata about when the releases |
156 were first pushed, as well as revision numbers associated with each build. | 156 were first pushed, as well as revision numbers associated with each build. |
157 </p> | 157 </p> |
158 | 158 |
159 | 159 |
160 <h2 id="capabilities2">Capabilities</h2> | 160 <h2 id="capabilities2">Capabilities</h2> |
161 | 161 |
162 <h3 id="faq-dev-02">Can extensions make cross-domain Ajax requests?</h3> | 162 <h3 id="faq-dev-02">Can extensions make cross-domain Ajax requests?</h3> |
163 <p> | 163 <p> |
164 Yes. Extensions can make cross-domain requests. See | 164 Yes. Extensions can make cross-domain requests. See |
165 <a href="http://code.google.com/chrome/extensions/xhr.html">this page</a> | 165 <a href="/extensions/xhr.html">this page</a> |
166 for more information. | 166 for more information. |
167 </p> | 167 </p> |
168 | 168 |
169 <h3 id="faq-dev-03">Can extensions use 3rd party web services?</h3> | 169 <h3 id="faq-dev-03">Can extensions use 3rd party web services?</h3> |
170 <p> | 170 <p> |
171 Yes. Extensions are capable of making cross-domain Ajax | 171 Yes. Extensions are capable of making cross-domain Ajax |
172 requests, so they can call remote APIs directly. APIs that provide data | 172 requests, so they can call remote APIs directly. APIs that provide data |
173 in JSON format are particularly easy to use. | 173 in JSON format are particularly easy to use. |
174 </p> | 174 </p> |
175 | 175 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 | 308 |
309 <h3 id="faq-dev-09">How much data can I store in localStorage?</h3> | 309 <h3 id="faq-dev-09">How much data can I store in localStorage?</h3> |
310 <p> | 310 <p> |
311 Extensions can store up to 5MB of data in localStorage. | 311 Extensions can store up to 5MB of data in localStorage. |
312 </p> | 312 </p> |
313 | 313 |
314 {{^is_apps}} | 314 {{^is_apps}} |
315 <h3 id="faq-dev-10">How do I create an options menu for my application?</h3> | 315 <h3 id="faq-dev-10">How do I create an options menu for my application?</h3> |
316 <p> | 316 <p> |
317 You can let users set options for your extension by creating an | 317 You can let users set options for your extension by creating an |
318 <a href="http://code.google.com/chrome/extensions/trunk/options.html">options
page</a>, | 318 <a href="/extensions/options.html">options page</a>, |
319 which is a simple HTML page that will be loaded when a user clicks the | 319 which is a simple HTML page that will be loaded when a user clicks the |
320 "options" button for your extension. This page can read and write settings | 320 "options" button for your extension. This page can read and write settings |
321 to localStorage, or even send options to a web server so that they can be | 321 to localStorage, or even send options to a web server so that they can be |
322 persisted across browsers. | 322 persisted across browsers. |
323 </p> | 323 </p> |
324 {{/is_apps}} | 324 {{/is_apps}} |
325 | 325 |
326 <h3 id="faq-dev-12">What debugging tools are available to extension developers?<
/h3> | 326 <h3 id="faq-dev-12">What debugging tools are available to extension developers?<
/h3> |
327 <p> | 327 <p> |
328 Chrome's built-in developer tools can be used to debug extensions | 328 Chrome's built-in developer tools can be used to debug extensions |
329 as well as web pages. See this | 329 as well as web pages. See this |
330 <a href="http://code.google.com/chrome/extensions/tut_debugging.html ">tutoria
l on debugging extensions</a> | 330 <a href="/extensions/tut_debugging.html ">tutorial on debugging extensions</a> |
331 for more information. | 331 for more information. |
332 </p> | 332 </p> |
333 | 333 |
334 <h3 id="faq-dev-16">Why do wildcard matches not work for top level domains | 334 <h3 id="faq-dev-16">Why do wildcard matches not work for top level domains |
335 (TLDs)?</h3> | 335 (TLDs)?</h3> |
336 <p> | 336 <p> |
337 You cannot use wildcard match patterns like <code>http://google.*/*</code> | 337 You cannot use wildcard match patterns like <code>http://google.*/*</code> |
338 to match TLDs (like <code>http://google.es</code> and | 338 to match TLDs (like <code>http://google.es</code> and |
339 <code>http://google.fr</code>) due to the | 339 <code>http://google.fr</code>) due to the |
340 complexity of actually restricting such a match to only the desired domains. | 340 complexity of actually restricting such a match to only the desired domains. |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions/t
opics"> | 482 <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions/t
opics"> |
483 discussion group</a> with a link back to your request. | 483 discussion group</a> with a link back to your request. |
484 </li> | 484 </li> |
485 <li> | 485 <li> |
486 If you originally reported your request on the discussion group and were | 486 If you originally reported your request on the discussion group and were |
487 directed to this FAQ entry, reply to your original thread with a link | 487 directed to this FAQ entry, reply to your original thread with a link |
488 to the ticket you starred or opened. This will make it easier for others | 488 to the ticket you starred or opened. This will make it easier for others |
489 with the same request to find the correct ticket. | 489 with the same request to find the correct ticket. |
490 </li> | 490 </li> |
491 </ol> | 491 </ol> |
OLD | NEW |