WebKit.UserContentFilter

Fields

None

Methods

get_identifier ()

ref ()

unref ()

Details

class WebKit.UserContentFilter

A compiled set of rules which applied to resource loads.

New in version 2.24.

get_identifier()
Returns:

the identifier for the filter

Return type:

str

Obtain the identifier previously used to save the self.

Obtain the identifier previously used to save the self in the WebKit.UserContentFilterStore.

New in version 2.24.

ref()
Returns:

the self passed in.

Return type:

WebKit.UserContentFilter

Atomically increments the reference count of self by one.

This function is MT-safe and may be called from any thread.

New in version 2.24.

unref()

Atomically decrements the reference count of self by one.

If the reference count drops to 0, all the memory allocated by the WebKit.UserContentFilter is released. This function is MT-safe and may be called from any thread.

New in version 2.24.