A CSS style sheet which can be injected in loaded pages.
Creates a new user style sheet.
Style sheets can be applied to some URIs only by passing non-null values
for allow-list or block-list. Passing a #f
allow_list implies that all URIs are on the allow_list. The style sheet
is applied if an URI matches the allow_list and not the block_list. URI
patterns must be of the form [protocol]://[host]/[path], where
the host and path components can contain the wildcard
character (*) to represent zero or more other characters.
Passed: a string.
Source code of the user style sheet.
Passed: a
<WebKitUserContentInjectedFrames>,
or one of its symbols.
Passed: a <WebKitUserStyleLevel>, or one of
its symbols.
Passed, or left out: a list or vector, each a string, or #f.
An allow_list of URI patterns or #f
Passed, or left out: a list or vector, each a string, or #f.
A block_list of URI patterns or #f
Returned: a <WebKitUserStyleSheet>.
A new <WebKitUserStyleSheet>
Creates a new user style sheet for script world.
Creates a new user style sheet for script world with name
world-name. See user-style-sheet:new for a full description.
Passed: a string.
Source code of the user style sheet.
Passed: a
<WebKitUserContentInjectedFrames>,
or one of its symbols.
Passed: a <WebKitUserStyleLevel>, or one of
its symbols.
Passed: a string.
the name of a WebKitScriptWorld
Passed, or left out: a list or vector, each a string, or #f.
An allow_list of URI patterns or #f
Passed, or left out: a list or vector, each a string, or #f.
A block_list of URI patterns or #f
Returned: a <WebKitUserStyleSheet>.
A new <WebKitUserStyleSheet>
Atomically increments the reference count of self by one.
This function is MT-safe and may be called from any thread.
Passed: a <WebKitUserStyleSheet>.
Returned: a <WebKitUserStyleSheet>.
The passed <WebKitUserStyleSheet>
Atomically decrements the reference count of self by one.
If the reference count drops to 0, all memory allocated by
<WebKitUserStyleSheet> is released. This
function is MT-safe and may be called from any thread.
Passed: a <WebKitUserStyleSheet>.