diff --git a/Resources-Library.md.md b/Resources-Library.md.md new file mode 100644 index 0000000..d721701 --- /dev/null +++ b/Resources-Library.md.md @@ -0,0 +1,442 @@ + + - [Current RAW version of Resouces Library ↪](https://github.com/uBlockOrigin/uAssets/blob/master/filters/resources.txt) + - [General purpose scriptlets](#general-purpose-scriptlets) + - [Defuser scriptlets](#defuser-scriptlets) + - [Empty redirect resources](#empty-redirect-resources) + - [URL-specific sanitized redirect resources](#url-specific-sanitized-redirect-resources-surrogates) + - [Other](#other) + - [Glossary](#glossary) + + + +*** + + + +## General purpose scriptlets + - most script relies on `Object` _properties_ ([_methods_](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object#Methods_of_the_Object_constructor)), altering them may not be the best idea (you should know what you are doing). + - "optional" for "string/_regular expression_" parameter defaults to "catch all" (`/.?/`) if not specified. + - mime type is `application/javascript` if not present TODO: move this information up? + + + +### 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 `