mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Updated Resources Library (markdown)
parent
68a7b63c2b
commit
a10b14e658
1 changed files with 6 additions and 4 deletions
|
|
@ -420,7 +420,7 @@ Parameters:
|
|||
Examples:
|
||||
- `there.to##+js(disable-newtab-links)`
|
||||
|
||||
To prevent new tabs/windows by specifying the location URL, see: [`window-close-if.js`](https://github.com/uBlockOrigin/uBlock-issues/wiki/Resources-Library#window-close-ifjs)
|
||||
To prevent new tabs/windows by specifying the location URL, see: [`window-close-if.js`](https://github.com/gorhill/uBlock/wiki/Resources-Library#window-close-ifjs)
|
||||
|
||||
Also see:
|
||||
- [AdGuard `disable-newtab-links`](https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-scriptlets.md#disable-newtab-links)
|
||||
|
|
@ -1303,8 +1303,8 @@ Parameters:
|
|||
- The text content of the element is a valid `https`-based URL
|
||||
- optional, one or more tokens to lookup the source of the `href` property, and optionally the transformation steps to perform, otherwise the text content of the element will be used.
|
||||
- `[name]`: Use the value of the attribute `name` as the URL
|
||||
- `?name`: Use the value of the `href` query parameter `name` <sup>[1.49.3rc15](https://github.com/gorhill/uBlock/commit/56e1d92dbd65e6168620053b1fec4c21c03d664e)</sup>. Supports unwrapping query parameters recursively <sup>[1.58.1rc11](https://github.com/gorhill/uBlock/commit/84be9cde6d)</sup>
|
||||
- Transformation steps: see [`urlskip`](../Static-filter-syntax#urlskip) documentation <sup>[1.61.3b10](https://github.com/gorhill/uBlock/commit/9bf8d53ebe7cab20ac8491741c5b99cf9d35d643)</sup>
|
||||
- `?name`: Use the value of the `href` query parameter `name` <sup>[1.49.3rc15](https://github.com/gorhill/uBlock/commit/56e1d92dbd65e6168620053b1fec4c21c03d664e)</sup>. Supports unwrapping query parameters recursively <sup>[1.58.1rc11](https://github.com/gorhill/uBlock/commit/84be9cde6d)</sup>
|
||||
- Transformation steps: see [`urlskip`](https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#urlskip) documentation <sup>[1.61.3b10](https://github.com/gorhill/uBlock/commit/9bf8d53ebe7cab20ac8491741c5b99cf9d35d643)</sup>
|
||||
|
||||
Examples:
|
||||
- `vk.com##+js(href-sanitizer, a[href^="/go?to="][title], [title])`
|
||||
|
|
@ -1606,7 +1606,8 @@ Parameters:
|
|||
- `on`<sup>1</sup> / `off`<sup>1</sup>,
|
||||
- `true` / `t`<sup>3</sup> / `false` / `f`<sup>3</sup>,
|
||||
- `yes` / `y` / `no` / `n`,
|
||||
- `all`<sup>10</sup> / `none`<sup>10</sup> / `functional`<sup>10</sup>
|
||||
- `all`<sup>10</sup> / `none`<sup>10</sup> / `functional`<sup>10</sup>,
|
||||
- `granted`<sup>11</sup> / `done`<sup>11</sup>
|
||||
- optional, cookie path, defaults to /; possible values:
|
||||
- `/`: root path
|
||||
- `none`: to set no path at all
|
||||
|
|
@ -1621,6 +1622,7 @@ Parameters:
|
|||
<sup>8. [1.59.1b5](https://github.com/gorhill/uBlock/commit/3e2171f550)</sup>
|
||||
<sup>9. [1.60.1b12](https://github.com/gorhill/uBlock/commit/4d982d9972be4eb0a23e289c6f3ec3ae8cca36f2)</sup>
|
||||
<sup>10. [1.61.3b10](https://github.com/gorhill/uBlock/commit/791a2b08e1a15c169c0a86130de769822628c81d)</sup>
|
||||
<sup>11. [1.62](https://github.com/gorhill/uBlock/commit/62178de75682a9e7e8fc7d1bedda2c7f476b5b66)</sup>
|
||||
|
||||
The scriptlet encodes cookie names and values, e.g value "{ test: 'value'}" becomes `%7B%20test%3A%20'value'%7D`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue