firefox

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 18 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Browser added in v0.5.0

type Browser struct {
	// contains filtered or unexported fields
}

Browser represents a single Firefox profile ready for extraction.

func NewBrowsers added in v0.5.0

func NewBrowsers(cfg types.BrowserConfig) ([]*Browser, error)

NewBrowsers discovers Firefox profiles under cfg.UserDataDir and returns one Browser per profile. Firefox profile directories have random names (e.g. "97nszz88.default-release"); any subdirectory containing known data files is treated as a valid profile.

func (*Browser) BrowserName added in v0.5.0

func (b *Browser) BrowserName() string

func (*Browser) CountEntries added in v0.5.0

func (b *Browser) CountEntries(categories []types.Category) (map[types.Category]int, error)

CountEntries copies browser files to a temp directory and counts entries per category without decryption. Much faster than Extract for display-only use cases like "list --detail".

func (*Browser) Extract added in v0.5.0

func (b *Browser) Extract(categories []types.Category) (*types.BrowserData, error)

Extract copies browser files to a temp directory, retrieves the master key, and extracts data for the requested categories.

func (*Browser) ProfileDir added in v0.5.0

func (b *Browser) ProfileDir() string

func (*Browser) ProfileName added in v0.5.0

func (b *Browser) ProfileName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL