module CookiesExtractor::Firefox
Defined in:
cookies-extractor/firefox-extractor.cr
Constant Summary
-
BROWSER_DIRECTORIES =
{% if flag?(:windows) %}
[
Path.new("%APPDATA%\\Mozilla\\Firefox\\").expand(home: true),
]
{% else %}{% if flag?(:darwin) %}
[
Path.new("~/Library/Application Support/Firefox/").expand(home: true),
]
{% else %}
[
# When installed on system
Path.new("~/.mozilla/firefox/").expand(home: true),
# When installed through snap
Path.new("~/snap/firefox/common/.mozilla/firefox/").expand(home: true),
# When installed through flatpak
Path.new("~/.var/app/org.mozilla.firefox/.mozilla/firefox/").expand(home: true),
]
{% end %}{% end %}
-
COOKIES_DB_NAME =
"cookies.sqlite"
Class Method Summary
Class Method Detail