2017-04-09 11:58:55 -07:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
from pyfzf import FzfPrompt
|
|
|
|
from lib.FirefoxProfile import FirefoxProfile
|
|
|
|
|
|
|
|
|
2017-04-09 20:36:06 -07:00
|
|
|
with FirefoxProfile.default() as ff:
|
2017-04-09 11:58:55 -07:00
|
|
|
choice = FzfPrompt().prompt(ff.history())
|
|
|
|
if choice:
|
2017-04-09 20:36:06 -07:00
|
|
|
ff.browse("http" + choice[0].split(", http")[1])
|
2017-04-09 11:58:55 -07:00
|
|
|
else:
|
|
|
|
print("Aborted")
|