mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
!14154 新增获取默认UA的静态接口
Merge pull request !14154 from zhaodan_123/zd_sdk-js
This commit is contained in:
commit
72f05acae5
9
api/@ohos.web.webview.d.ts
vendored
9
api/@ohos.web.webview.d.ts
vendored
@ -4989,6 +4989,15 @@ declare namespace webview {
|
||||
*/
|
||||
static clearIntelligentTrackingPreventionBypassingList(): void;
|
||||
|
||||
/**
|
||||
* Get the default user agent.
|
||||
*
|
||||
* @returns {string} The default user agent string.
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @since 14
|
||||
*/
|
||||
static getDefaultUserAgent(): string;
|
||||
|
||||
/**
|
||||
* Register a callback to intercept web pages playing media.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user