Cookies & Browser History & Opened Tabs!

A lot of people saying that google/fb using cookies to know what other tabs you opened & gather your browser history so is that real ? i mean cookies can really do that ? (from my point of view, no!)

i think the answer is yes, and no
there’s a lot more to deal with today than just cookies and from what i know, no, cookies cannot access history, but other methods can

there’s indexedDB storage, e-tags, local storage,, LSO, workers, HTTP STS, offline storage and more … and then there’s the regular old web cache storage

i don’t actually recall which of these can access history/tabs, so i hope someone else will jump in with an answer