WPEWebKit.WebExtensionMatchPattern.register_custom_URL_scheme
Description: Reference for WPEWebKit.WebExtensionMatchPattern.register_custom_URL_scheme

### Function

# WPEWebKit WebExtensionMatchPatternregister_custom_URL_scheme

deprecated: 2.52 since: 2.48

#### 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.48

Deprecated since: 2.52

Use `webkit_web_extension_match_pattern_register_custom_url_scheme()` instead.

#### 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.