Web历史分析器 [英] Web history Analyzer

查看:71
本文介绍了Web历史分析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的需要帮助查找可以从计算机上的所有浏览器生成Web历史记录日志并只显示链接的代码。我尝试了一个UrlHistoryWrapper,我猜我的编码还不够,我没有足够的代码来完成。任何想法都将不胜感激。

I really need help finding a code that can generate a web history log from all browsers on a computer and just display the links. I have tried a UrlHistoryWrapper and i guess my coding was not sufficient, i dont have enough to complete the code. Any ideas would be greatly appreciated.

推荐答案

Sabone309,



这对你来说是一项更艰巨的任务可能已经实现了。为了获取任何浏览器的浏览历史记录,您需要类似系统代理的东西。如果您正在寻找足够好的解决方案,请考虑使用 Fiddler Core API [ ^ ]。 Fiddler是一个Microsoft API,它创建一个Web代理,可以捕获所有Web浏览流量。



因为它是一个简单的Web代理,如果你是用户正在使用工具,如 Ultra Surf [ ^ ],他们将能够绕过/绕过Fiddler代理。还有其他解决方案可以深入了解Windows的核心,但我会将其留给更聪明的人 [ ^ ]!



祝你好运,我没有提供任何代码,但我确信您希望我觉得我向您发送了正确的方向。



Hogan
Sabone309,

This is a more difficult task that you may have realized. In order to get the browsing history of any browser, you will need something like a system proxy. If you''re looking for a good enough solution, consider using the Fiddler Core API[^]. Fiddler is a Microsoft API that creates a web proxy that will trap all web browsing traffic.

Because its a simple web proxy, if you''re users are using a tool such as Ultra Surf[^], they will be able to get around/bypass the Fiddler proxy. There are other solutions that get much deeper into the core of Windows, but I''ll leave that to Smarter People[^]!

Good luck, I didn''t provide any code, but I sure hope you feel I sent you in the right direction.

Hogan


如果我是你,我会查看注册表文件...

我刚刚出现有了这个,你可以在几分钟内尝试更多...

If I were you I would just look into the registry files...
I just came up with this within a couple minutes, you could experiment more if you wanted...
using Microsoft.Win32;




static bool HasBrowsedTo(string url)
{
   url = url.Replace("http://www.", "");
   object obj = Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\DOMStorage\" + url, string.Empty, null);
   return obj != null;
}





请确保您的URI最后没有/。

bool var = HasBrowsedTo( http://www.codeproject.com );

但你可以解决这个问题。



Just make sure your URI doesn''t have a "/" at the end.
bool var = HasBrowsedTo("http://www.codeproject.com");
But you could fix that.


这篇关于Web历史分析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆