以编程方式访问浏览器历史 [英] Programmatically access browser history

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

问题描述

我怎样才能创建一个应用程序来阅读我所有的浏览器(Firefox)的历史?
i注意到我在

C:\ Users \ user.name\AppData\Local\Mozilla\Firefox\Profiles\\ \\ 646vwtnu.default

看起来像一个sqlite数据库(urlclassifier3.sqlite),但我不知道它真的用来存储历史信息。
i搜索了关于如何做这个但是没有找到任何东西的例子。
$ b $ ps:尽管标题类似,但我相信这个问题是不一样的你如何访问浏览器历史?

$ b $我相信 places.sqlite 是你应该关注的历史(Firefox 3) 。下面是一些有关这个主题的Mozilla wiki条目。



在早期版本的Firefox中,它们将历史存储在名为 history.dat 的文件中,该文件以Mork格式编码。 Jamie Zawinski的perl脚本可以用来解析Mork文件。


how can i create an application to read all my browser (firefox) history? i noticed that i have in

C:\Users\user.name\AppData\Local\Mozilla\Firefox\Profiles\646vwtnu.default

what looks like a sqlite database (urlclassifier3.sqlite) but i don't know if its really what is used to store de history information. i searched for examples on how to do this but didn't find anything.

ps: although the title is similar i believe this question is not the same as "How do you access browser history?"

解决方案

I believe places.sqlite is the one you should be looking into for history (Firefox 3). Below are a couple of Mozilla wiki entries that have some info on the subject.

In earlier versions of Firefox they stored history in a file called history.dat, which was encoded in a format called "Mork". This perl script by Jamie Zawinski can be used to parse Mork files.

这篇关于以编程方式访问浏览器历史的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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