Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google chrome 在chrome的扩展中,是否可以设置“chrome.cookies.getAll”方法的多个条件?_Google Chrome_Cookies_Google Chrome Extension - Fatal编程技术网

Google chrome 在chrome的扩展中,是否可以设置“chrome.cookies.getAll”方法的多个条件?

Google chrome 在chrome的扩展中,是否可以设置“chrome.cookies.getAll”方法的多个条件?,google-chrome,cookies,google-chrome-extension,Google Chrome,Cookies,Google Chrome Extension,在chrome的扩展中,是否可以设置有关chrome.cookies.getAll方法的多个条件 例如,我想获取所有namecookiesfoor或bar 我希望是这样的: chrome.cookies.getAll({'name':'foo|bar'}, function(cookies) { ... 不可能。

在chrome的扩展中,是否可以设置有关
chrome.cookies.getAll
方法的多个条件

例如,我想获取所有
name
cookies
foor
bar

我希望是这样的:

chrome.cookies.getAll({'name':'foo|bar'}, function(cookies) { ...

不可能。