T
T
TechNOIR2018-03-30 13:53:06
HTTP Cookies
TechNOIR, 2018-03-30 13:53:06

javascript.php. How to read cookies from any domain from your computer through a browser?

Good afternoon.
Can you please tell me if it is possible to read cookies of any domain from your computer through a browser using a script, for example, in Php or Javascript?
That is, in the script, specify the domain, for example, yandex.ru and receive a list of cookies saved on my computer.
Thank you in advance for your answers

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
RidgeA, 2018-03-30
@RidgeA

JS has access only to the cookies of the domain in which it is running. And even then not to everyone.
PHP does not run in the browser.

D
Dimonchik, 2018-03-30
@dimonchik2013

it’s possible, it’s called XSS, but browsers and antiviruses don’t really like it for some reason, they don’t respect honest boys

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question