| OLD | NEW |
| 1 <!-- BEGIN AUTHORED CONTENT --> | |
| 2 <p> | 1 <p> |
| 3 The infobars API allows you to add a | 2 The infobars API allows you to add a |
| 4 horizontal panel just above a tab's contents, | 3 horizontal panel just above a tab's contents, |
| 5 as the following screenshot shows. | 4 as the following screenshot shows. |
| 6 </p> | 5 </p> |
| 7 | 6 |
| 8 <p> | 7 <p> |
| 9 <img src="../images/infobar.png" | 8 <img src="{{static}}/images/infobar.png" |
| 10 width="566" height="150" | 9 width="566" height="150" |
| 11 alt="An infobar asking whether the user wants to translate the current page" /
> | 10 alt="An infobar asking whether the user wants to translate the current page" /
> |
| 12 </p> | 11 </p> |
| 13 | 12 |
| 14 <p> | 13 <p> |
| 15 Use an infobar to tell the reader | 14 Use an infobar to tell the reader |
| 16 something about a particular page. | 15 something about a particular page. |
| 17 When the user leaves the page for which the infobar is displayed, | 16 When the user leaves the page for which the infobar is displayed, |
| 18 Google Chrome automatically closes the infobar. | 17 Google Chrome automatically closes the infobar. |
| 19 </p> | 18 </p> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 39 <pre>{ | 38 <pre>{ |
| 40 "name": "Andy's infobar extension", | 39 "name": "Andy's infobar extension", |
| 41 "version": "1.0", | 40 "version": "1.0", |
| 42 <b>"permissions": ["experimental"],</b> | 41 <b>"permissions": ["experimental"],</b> |
| 43 <b>"icons": {</b> | 42 <b>"icons": {</b> |
| 44 <b>"16": "16.png"</b> | 43 <b>"16": "16.png"</b> |
| 45 <b>},</b> | 44 <b>},</b> |
| 46 "background": { | 45 "background": { |
| 47 "scripts": ["background.js"] | 46 "scripts": ["background.js"] |
| 48 } | 47 } |
| 49 }</pre> | 48 }</pre> |
| 50 | |
| 51 <!-- END AUTHORED CONTENT --> | |
| OLD | NEW |