问题描述
有没有办法跟踪您在每个网站上花费的时间?理想情况下,我想要一些可以插入浏览器的东西,它可以为我提供可以传递给 Ruby 程序的信息.每天它可能会输出如下内容:
Is there a way to track how much time you spend on each website? Ideally I'd like something I could plug into my browser that would give me information that I could pass into a Ruby program. Each day it might output something like this:
http://www.google.com => 45.02 minutes
http://www.espn.com => 34.21 minutes
http://www.facebook.com => 26.35 minutes
如果它不存在,你会用什么来构建它?
If this doesn't exist, what would you use to build this?
推荐答案
如果您使用 Firefox,您可以编写一个greasemonkey 脚本来执行此操作.还有一个插件可以为您执行此操作:https://addons.mozilla.org/En-us/firefox/addon/leechblock/
If you use Firefox you could write a greasemonkey script to do this. There's also a plugin that does this for you: https://addons.mozilla.org/En-us/firefox/addon/leechblock/
它的主要目的是阻止浪费时间的网站,但它也可以跟踪您在一个网站或多个网站上花费的时间.
Its primary purpose is to block sites that are time wasters, but it also can track the time you spend on a site or block of sites.
如果您使用 Chrome,此时间跟踪器似乎可以满足您的需求:https://chrome.google.com/webstore/detail/timestats/ejifodhjoeeenihgfpjijjmpomaphmah?hl=en
If you use Chrome this time tracker seems to do what you want: https://chrome.google.com/webstore/detail/timestats/ejifodhjoeeenihgfpjijjmpomaphmah?hl=en
这篇关于跟踪在每个网站上花费的时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!