如何捕获" JavaScript的事件的setcookie"在web浏览器?

问题描述:

如何捕获在一个WebBrowser了的JavaScript的setcookie事件?我想要的饼干当一个javascript的setcookie事件发生的同时同步到的CookieContainer。

How to capture the "JavaScript SetCookie event" in a WebBrowser? I want to synchronize the cookie to a CookieContainer when a javascript setcookie event occurred simultaneously. such as

<script>document.cookie="testcookie"</script>

是否有与此相关的一个事件?谢谢。

Is there an event related to this ? thanks.

环境:NET 2.0 web浏览器,C#,VS2008

Environment: .Net 2.0 WebBrowser, C#, VS2008

没有。有没有当分配的document.cookie 时引发的事件。

No. There is no event that is raised when document.cookie is assigned.