| OLD | NEW |
| 1 <h1>Match Patterns</h1> | 1 <h1>Match Patterns</h1> |
| 2 | 2 |
| 3 <p> | 3 <p> |
| 4 <a href="declare_permissions.html#host-permissions">Host | 4 <a href="declare_permissions#host-permissions">Host |
| 5 permissions</a> and <a href="content_scripts.html">content | 5 permissions</a> and <a href="content_scripts">content |
| 6 script</a> matching are based on a set of URLs defined by | 6 script</a> matching are based on a set of URLs defined by |
| 7 <dfn>match patterns</dfn>. A match pattern is essentially a | 7 <dfn>match patterns</dfn>. A match pattern is essentially a |
| 8 URL that begins with a permitted scheme (<code>http</code>, | 8 URL that begins with a permitted scheme (<code>http</code>, |
| 9 <code>https</code>, <code>file</code>, <code>ftp</code>, or | 9 <code>https</code>, <code>file</code>, <code>ftp</code>, or |
| 10 <code>chrome-extension</code>), | 10 <code>chrome-extension</code>), |
| 11 and that can contain '<code>*</code>' characters. | 11 and that can contain '<code>*</code>' characters. |
| 12 The special pattern | 12 The special pattern |
| 13 <code><all_urls></code> matches any URL | 13 <code><all_urls></code> matches any URL |
| 14 that starts with a permitted scheme. | 14 that starts with a permitted scheme. |
| 15 Each match pattern has 3 parts:</p> | 15 Each match pattern has 3 parts:</p> |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 <tr> | 247 <tr> |
| 248 <td><code>foo://*</code></td> | 248 <td><code>foo://*</code></td> |
| 249 <td>Invalid <em>scheme</em></td> | 249 <td>Invalid <em>scheme</em></td> |
| 250 </tr> | 250 </tr> |
| 251 </tbody> | 251 </tbody> |
| 252 </table> | 252 </table> |
| 253 | 253 |
| 254 <p> | 254 <p> |
| 255 Some schemes are not supported in all contexts. | 255 Some schemes are not supported in all contexts. |
| 256 </p> | 256 </p> |
| OLD | NEW |