WebKit.WebExtensionMatchPattern.register_custom_url_scheme
Description: Reference for WebKit.WebExtensionMatchPattern.register_custom_url_scheme

### Function

# WebKit WebExtensionMatchPatternregister_custom_url_scheme

since: 2.52

#### Declaration [src]

    void
    webkit_web_extension_match_pattern_register_custom_url_scheme (
      const gchar* urlScheme
    )

#### Description [src]

Registers a custom URL scheme that can be used in match patterns.

This method should be used to register any custom URL schemes used by the app for the extension base URLs, other than `webkit-extension`, or if extensions should have access to other supported URL schemes when using `<all_urls>`.

Available since: 2.52

#### Parameters

`urlScheme`

  Type: `const gchar*`

  The custom URL scheme to register.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.