From cc39931d4b629e026b6f2b2919c5eae021b8355b Mon Sep 17 00:00:00 2001 From: gwarser Date: Mon, 29 Jul 2019 14:34:12 +0200 Subject: [PATCH] add 1.21.6 aliases --- Resources-Library.md | 97 ++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 30 deletions(-) diff --git a/Resources-Library.md b/Resources-Library.md index 98ab4e1..d9ea1d6 100644 --- a/Resources-Library.md +++ b/Resources-Library.md @@ -19,11 +19,16 @@ - "string" parameter means plain character(s)/word(s), quotes will be taken literally, commas [must be escaped](https://github.com/uBlockOrigin/uAssets/commit/2bec415a9bc4f81b29be3bf083ef1a20552f39db#commitcomment-29327114) in regex literals: `/foo\x2cbar\u002cbaz/` - "regular expression" parameter means JavaScript [regular expression literal](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Writing_a_regular_expression_pattern) - mime type is `application/javascript` if not present + - You can use the short alias form when available for scriptlet name + - You can omit the `.js` from the scriptlet name (eventually in some future this will be the official way to do this) + - Do **not** skip `.js` when the scriptlet is used with `redirect=`, only when used in `+js(...)`. + - crossed out resources are deprecated/removed. *** +### acis.js ### abort-current-inline-script.js [↪](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1942) Aborts execution of inline script (_throws_ `ReferenceError`) when attempts to access specified _property_ when content of `