sure - IE:
Private Declare Function InternetGetCookie Lib "wininet.dll" Alias "InternetGetCookieA" (ByVal lpszUrlName As String, ByVal lpszCookieName As String, ByVal lpszCookieData As String, lpdwSize As Long) As Boolean
Function cm(ByVal u As String)
Dim a&, b$
a = 32768: b = Space$(a)
Debug.Assert InternetGetCookie(u, vbNullString, b, a)
cm = Left$(b, a)
End Function
Which you then access through 'cm("https://www.google.com")' (where cm is of course 'cookie monster' )
For FF I just read the cookies.sqlite file in %appdata%\mozilla\firefox\default.default using the sqliteforexcel method (which uses the winsqlite3.dll, standard in windows 10). Problem is that as far as a I know, Chrome cookies are encrypred, while FF are not.
Bookmarks