Expand description
In adblocking terms, Resource
s are special placeholder scripts, images,
video files, etc. that can be returned as drop-in replacements for harmful
equivalents from remote servers. Resources also encompass scriptlets, which
can be injected into pages to inhibit malicious behavior.
If the resource-assembler
feature is enabled, the
resource_assembler
module will assist with the construction of Resource
s directly from the uBlock Origin
project.
Structs§
- Specifies a set of permissions required to inject a scriptlet resource.
- Struct representing a resource that can be used by an adblocking engine.
- Unified resource storage for both redirects and scriptlets.
Enums§
- Describes failure cases when preparing
Resource
s to be used for adblocking. - Acceptable MIME types for resources used by
$redirect
and+js(...)
adblock rules. - Different ways that the data within the
content
field of aResource
can be interpreted. - Describes failure cases when attempting to retrieve a resource for scriptlet injection.