Retrieving Cookies

Shayne54

Client
Регистрация
07.10.2011
Сообщения
16
Благодарностей
2
Баллы
0
Is there a way of getting the Cookies currently set or access to the Cookie Container? All I can find is way's to set a cookie.
Access to the Browser Request Headers would work as well.... anyone have any ideas?
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
try to do it via JS. document.cookie
 
  • Спасибо
Реакции: Shayne54

Здраво

Client
Регистрация
11.07.2011
Сообщения
99
Благодарностей
45
Баллы
18
If anyone can comment further on this it would be grate. Specifically I'm working on Google scraper and it would be grate if I can set cookies to show 100 results per page, instead Click to Settings, then turn off google instant, then set 100 results. Hungry Bulldozer if you have time it would be grate to show us how to deal with cookies.
 

zon3d

Client
Регистрация
22.03.2012
Сообщения
29
Благодарностей
1
Баллы
3

Andrew77

Client
Регистрация
11.01.2012
Сообщения
73
Благодарностей
7
Баллы
8
что то не получается работать с кукам через javascript

может я что то делаю не так подскажите как удалить куки к примеру..

IDTEST
1
test.com/

пробовал разные варианты, например вставляю в шаг следуещее

javascript:
var ws=new Date();
ws.setMinutes(60-ws.getMinutes());
document.cookie="IDTEST=1; path=test.com/; expires="+ ws.toGMTString();

но вроде бы не удаляет и результата не вижу
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)