# This example will dump favicons images
# in OUTPUT dir.

OUTPUT = "output/favicons"

from lib.chromeforensics import ChromeForensics

c = ChromeForensics()
c.dump_favicons_images(OUTPUT)
from lib.chromeforensics import ChromeForensics

c = ChromeForensics()

print "Enabled plugins:"
enabled_plugins = c.get_enabled_plugins()
for i in enabled_plugins:
	print " - %s (%s)" % (i, enabled_plugins[i])

print "Disabled plugins:"
disabled_plugins = c.get_disabled_plugins()
for i in disabled_plugins:
	print " - %s (%s)" % (i, disabled_plugins[i])
from lib.chromeforensics import ChromeForensics

c = ChromeForensics()

print "Top sites ordered by rank:"
visited_sites = c.get_top_sites()
for i in visited_sites:
	print i

print "Visited sites using Top sites rank:"
visited_sites = c.get_sites_using_top_sites()
for i in visited_sites:
	print i