Top |
WebKitUserStyleSheet *
webkit_user_style_sheet_ref (WebKitUserStyleSheet *user_style_sheet
);
void
webkit_user_style_sheet_unref (WebKitUserStyleSheet *user_style_sheet
);
WebKitUserStyleSheet * webkit_user_style_sheet_new (const gchar *source
,WebKitUserContentInjectedFrames injected_frames
,WebKitUserStyleLevel level
,const gchar * const *whitelist
,const gchar * const *blacklist
);
WebKitUserScript *
webkit_user_script_ref (WebKitUserScript *user_script
);
WebKitUserScript * webkit_user_script_new (const gchar *source
,WebKitUserContentInjectedFrames injected_frames
,WebKitUserScriptInjectionTime injection_time
,const gchar * const *whitelist
,const gchar * const *blacklist
);
Specifies in which frames user style sheets are to be inserted in.
Insert the user style sheet in all the frames loaded by the web view, including nested frames. This is the default. |
||
Insert the user style sheet *only* in the top-level frame loaded by the web view, and *not* in the nested frames. |
Since: 2.6
Specifies how to treat an user style sheet.
The style sheet is an user style sheet, its contents always override other style sheets. This is the default. |
||
The style sheet will be treated as if it was provided by the loaded documents. That means other user style sheets may still override it. |
Since: 2.6
Specifies at which place of documents an user script will be inserted.
Since: 2.6