Relative links

gwarser 2025-01-05 14:40:35 +01:00
parent a10b14e658
commit 6f86c442f5

@ -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/gorhill/uBlock/wiki/Resources-Library#window-close-ifjs)
To prevent new tabs/windows by specifying the location URL, see: [`window-close-if.js`](./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)
@ -1304,7 +1304,7 @@ Parameters:
- 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`](https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#urlskip) documentation <sup>[1.61.3b10](https://github.com/gorhill/uBlock/commit/9bf8d53ebe7cab20ac8491741c5b99cf9d35d643)</sup>
- Transformation steps: see [`urlskip`](./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])`