Skip to main content
Version: 22.9.0

DeleteCookiesRequest 接口

¥DeleteCookiesRequest interface

签名:

¥Signature:

export interface DeleteCookiesRequest

属性

¥Properties

属性

修饰符

类型

描述

默认

domain

optional

string

如果指定,则仅删除具有确切域的 cookie。

name

string

要删除的 cookie 的名称。

path

optional

string

如果指定,则仅删除具有确切路径的 cookie。

url

optional

string

如果指定,则删除具有给定名称且域和路径与提供的 URL 匹配的所有 cookie。否则,仅删除与当前页面域相关的 cookie。