ResourceType

What a request is for, so rules can be written against categories rather than extensions.

Entries

Link copied to clipboard

The main document or an iframe's document.

Link copied to clipboard

A CSS file.

Link copied to clipboard

A JavaScript file.

Link copied to clipboard

Reserved for a future single-image classification; blocking rules match Images.

Link copied to clipboard

What dev.webdroid.Page.blockResourceTypes actually matches for image requests.

Link copied to clipboard

Reserved for a future single-font classification; blocking rules match Fonts.

Link copied to clipboard

What dev.webdroid.Page.blockResourceTypes actually matches for font requests.

Link copied to clipboard

Audio or video.

Link copied to clipboard

An XHR/fetch call rather than a resource the document declared.

Link copied to clipboard

Anything not covered by the other categories.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.