extensions

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package extensions extracts chrome extensions.

Index

Constants

View Source
const Name = "chrome/extensions"

Name is the name for the Chrome extensions extractor

Variables

This section is empty.

Functions

func New

func New() filesystem.Extractor

New returns an chrome extractor.

Types

type Extractor

type Extractor struct{}

Extractor extracts chrome extensions

func (Extractor) Extract

Extract extracts chrome extensions

func (Extractor) FileRequired

func (e Extractor) FileRequired(api filesystem.FileAPI) bool

FileRequired returns true if the file is chrome manifest extension

func (Extractor) Name

func (e Extractor) Name() string

Name of the extractor.

func (Extractor) Requirements

func (e Extractor) Requirements() *plugin.Capabilities

Requirements of the extractor.

func (Extractor) Version

func (e Extractor) Version() int

Version of the extractor.

type Metadata

type Metadata struct {
	Name                 string
	Description          string
	AuthorEmail          string
	HostPermissions      []string
	ManifestVersion      int
	MinimumChromeVersion string
	Permissions          []string
	UpdateURL            string
}

Metadata contains metadata for Chrome extensions.

Jump to

Keyboard shortcuts

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