Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(680)

Side by Side Diff: chrome/common/extensions/docs/templates/articles/match_patterns.html

Issue 219213007: Remove .html extension from links (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>&lt;all_urls&gt;</code> matches any URL 13 <code>&lt;all_urls&gt;</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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698