browser

package
v0.1.31 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package browser defines an interface for interacting with web browsers to import bookmarks.

Index

Constants

This section is empty.

Variables

View Source
var ErrBrowserUnsupported = errors.New("browser unsupported")

Functions

This section is empty.

Types

type Browser

type Browser interface {
	Name() string
	Short() string
	LoadPaths() error
	Color(string) string
	Import(c *ui.Console, force bool) ([]*bookmark.Bookmark, error)
}

Browser defines the interface for interacting with various web browsers, providing methods to retrieve browser information, load browser paths, and import bookmarks.

Directories

Path Synopsis
Package blink provides functionalities for importing bookmarks from Blink-based web browsers like Chromium, Chrome, and Edge.
Package blink provides functionalities for importing bookmarks from Blink-based web browsers like Chromium, Chrome, and Edge.
Package gecko provides functionalities for importing bookmarks from Gecko-based web browsers like Firefox.
Package gecko provides functionalities for importing bookmarks from Gecko-based web browsers like Firefox.
Package browserpath provides functions to generate platform-specific paths for browser profiles and bookmark files.
Package browserpath provides functions to generate platform-specific paths for browser profiles and bookmark files.

Jump to

Keyboard shortcuts

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