<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: IE Application - как задать куки в header'е]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=13693</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13693&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: IE Application - как задать куки в header'е».]]></description>
		<lastBuildDate>Sat, 12 May 2018 12:22:03 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: IE Application - как задать куки в header'е]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125315#p125315</link>
			<description><![CDATA[<p>Спасибо за ответ.</p>]]></description>
			<author><![CDATA[null@example.com (MandarinKa02)]]></author>
			<pubDate>Sat, 12 May 2018 12:22:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125315#p125315</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: IE Application - как задать куки в header'е]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125312#p125312</link>
			<description><![CDATA[<p>Хром автоматизируется через селениум либо через Chrome DevTools Protocol.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Fri, 11 May 2018 22:11:45 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125312#p125312</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: IE Application - как задать куки в header'е]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125310#p125310</link>
			<description><![CDATA[<p>Есть ли кроме встроенного explorer application&#039;a какой-нибудь другой? К примеру: Chrome application?<br />Подскажите, в какую сторону гуглить?</p>]]></description>
			<author><![CDATA[null@example.com (MandarinKa02)]]></author>
			<pubDate>Fri, 11 May 2018 20:17:34 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125310#p125310</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: IE Application - как задать куки в header'е]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125299#p125299</link>
			<description><![CDATA[<p>Вряд ли такое возможно.<br />Устанавливайте куки через InternetSetCookieEx либо через IESetProtectedModeCookie.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Fri, 11 May 2018 14:00:48 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125299#p125299</guid>
		</item>
		<item>
			<title><![CDATA[AHK: IE Application - как задать куки в header'е]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125242#p125242</link>
			<description><![CDATA[<p>Здравствуйте, вопрос в шапке. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br /></p><div class="codebox"><pre><code>
url:=&quot;http://127.0.0.1/ENLMEYEBUDPKWBBB/userRpm/Index.htm&quot;
hwnd:=0

oIE := ComObjCreate(&quot;InternetExplorer.Application&quot;)
oIE.visible := True, hwnd := oIE.HWND
;oIE.MenuBar:=0,oIE.Toolbar:=0

global oIE
oIE := ComObjCreate(&quot;InternetExplorer.Application&quot;)
oIE.visible := True, hwnd := oIE.HWND
;oIE.MenuBar:=0,oIE.Toolbar:=0

headers:=&quot;cookie:Authorization=Basic%20RGVuaXM6NmQwMDA3ZTUyZjdhZmI3ZDVhMDY1MGIwZmZiOGE0ZDE%3D&quot; &quot;`r`n&quot;
       . &quot;something: value&quot;
oIE.navigate(url,,,,headers)
;oIE.cookie:=&quot;&quot;
;WinMaximize ahk_id %hwnd%
While (oIE.busy)
	Sleep, 20
;InputForms()
</code></pre></div><p>Вот-с, что приходит в header&#039;e. <br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>body:
headers:
ip:127.0.0.1
method:GET
path:/ENLMEYEBUDPKWBBB/userRpm/Index.htm
protocol:HTTP/1.1
queries:
raw:GET /ENLMEYEBUDPKWBBB/userRpm/Index.htm HTTP/1.1
Accept: */*
something: value
Accept-Language: ru
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0)
Accept-Encoding: gzip, deflate
Host: 127.0.0.1
Connection: Keep-Alive
</code></pre></div></div></div>]]></description>
			<author><![CDATA[null@example.com (MandarinKa02)]]></author>
			<pubDate>Tue, 08 May 2018 19:27:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125242#p125242</guid>
		</item>
	</channel>
</rss>
