mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Updated Static filter syntax (markdown)
parent
890cb6801c
commit
cbc0d806c7
1 changed files with 2 additions and 2 deletions
|
@ -226,10 +226,10 @@ So in uBO, any pattern that reads as a valid hostname will be assumed to be equi
|
||||||
example.com*
|
example.com*
|
||||||
```
|
```
|
||||||
|
|
||||||
If the filter is a filename, it is best to add a `^` at one or both ends:
|
If the filter is a filename, it is best to prepend with a slash to ensure it's not parsed as a hostname:
|
||||||
|
|
||||||
```adb
|
```adb
|
||||||
^example.js^
|
/example.js
|
||||||
```
|
```
|
||||||
|
|
||||||
See also: [Narrowing options for network filters](./Filter-Performance#narrowing-options-for-network-filters)
|
See also: [Narrowing options for network filters](./Filter-Performance#narrowing-options-for-network-filters)
|
||||||
|
|
Loading…
Reference in a new issue