Function

WebKit-6.0WebKitweb_extension_match_pattern_register_custom_URL_schemeSince 2.48

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

    Parameters

    • urlScheme: string

      The custom URL scheme to register

    Returns void

    2.48