From a10b14e658895360e5e34facce44ab1dcfd30bfc Mon Sep 17 00:00:00 2001
From: D4niloMR <70459964+D4niloMR@users.noreply.github.com>
Date: Sat, 4 Jan 2025 17:28:35 -0300
Subject: [PATCH] Updated Resources Library (markdown)
---
Resources-Library.md | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/Resources-Library.md b/Resources-Library.md
index cf6b20d..b793b3e 100644
--- a/Resources-Library.md
+++ b/Resources-Library.md
@@ -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` [1.49.3rc15](https://github.com/gorhill/uBlock/commit/56e1d92dbd65e6168620053b1fec4c21c03d664e). Supports unwrapping query parameters recursively [1.58.1rc11](https://github.com/gorhill/uBlock/commit/84be9cde6d)
- - Transformation steps: see [`urlskip`](../Static-filter-syntax#urlskip) documentation [1.61.3b10](https://github.com/gorhill/uBlock/commit/9bf8d53ebe7cab20ac8491741c5b99cf9d35d643)
+ - `?name`: Use the value of the `href` query parameter `name` [1.49.3rc15](https://github.com/gorhill/uBlock/commit/56e1d92dbd65e6168620053b1fec4c21c03d664e). Supports unwrapping query parameters recursively [1.58.1rc11](https://github.com/gorhill/uBlock/commit/84be9cde6d)
+ - Transformation steps: see [`urlskip`](https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#urlskip) documentation [1.61.3b10](https://github.com/gorhill/uBlock/commit/9bf8d53ebe7cab20ac8491741c5b99cf9d35d643)
Examples:
- `vk.com##+js(href-sanitizer, a[href^="/go?to="][title], [title])`
@@ -1606,7 +1606,8 @@ Parameters:
- `on`1 / `off`1,
- `true` / `t`3 / `false` / `f`3,
- `yes` / `y` / `no` / `n`,
- - `all`10 / `none`10 / `functional`10
+ - `all`10 / `none`10 / `functional`10,
+ - `granted`11 / `done`11
- optional, cookie path, defaults to /; possible values:
- `/`: root path
- `none`: to set no path at all
@@ -1621,6 +1622,7 @@ Parameters:
8. [1.59.1b5](https://github.com/gorhill/uBlock/commit/3e2171f550)
9. [1.60.1b12](https://github.com/gorhill/uBlock/commit/4d982d9972be4eb0a23e289c6f3ec3ae8cca36f2)
10. [1.61.3b10](https://github.com/gorhill/uBlock/commit/791a2b08e1a15c169c0a86130de769822628c81d)
+11. [1.62](https://github.com/gorhill/uBlock/commit/62178de75682a9e7e8fc7d1bedda2c7f476b5b66)
The scriptlet encodes cookie names and values, e.g value "{ test: 'value'}" becomes `%7B%20test%3A%20'value'%7D`.