goi2pbrowser

package module
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 7 Imported by: 3

README

goi2pbrowser

Package goi2pbrowser is a package which can be used to manage an I2P browsing profile using a pre-configured, common profile which is used by the I2P Easy-Install bundle and the i2p.plugins.firefox profile manager. It is a Go clone of i2p.plugins.firefox for use in native applications.

Variables

BaseProfile is a zip of a Firefox profile with NoScript, HTTPS Everywhere, and I2PIPB

var BaseProfile []byte

UsabilityProfile is a zip of a Firefox profile with Jshelter, HTTPS Everywhere, uBlock Origin, LocalCDN, OICT, and I2PIPB

var UsabilityProfile []byte

Functions

func BrowseApp

func BrowseApp(profileDir string, url ...string)

BrowseApp launches a Firefox browser configured to use I2P and waits for it to exit. The profile is in "Usability" mode

func BrowseStrict

func BrowseStrict(profileDir string, url ...string)

BrowseStrict launches a Firefox browser configured to use I2P and waits for it to exit. The profile is in "Strict" mode

func BrowseUsability

func BrowseUsability(profileDir string, url ...string)

BrowseUsability launches a Firefox browser configured to use I2P and waits for it to exit. The profile is in "Usability" mode

func UnpackBase

func UnpackBase(profileDir string) (string, error)

UnpackBase unpacks a "Strict" mode profile into the "profileDir" and returns the path to the profile and possibly, an error if something goes wrong. If everything works, the error will be nil

func UnpackUsability

func UnpackUsability(profileDir string) (string, error)

UnpackUsability unpacks a "Usability" mode profile into the "profileDir" and returns the path to the profile and possibly, an error if something goes wrong. If everything works, the error will be nil

Sub Packages


Readme created from Go doc with goreadme

Documentation

Overview

Package goi2pbrowser is a package which can be used to manage an I2P browsing profile using a pre-configured, common profile which is used by the I2P Easy-Install bundle and the i2p.plugins.firefox profile manager. It is a Go clone of i2p.plugins.firefox for use in native applications.

Index

Constants

This section is empty.

Variables

View Source
var BaseProfile []byte

BaseProfile is a zip of a Firefox profile with NoScript, HTTPS Everywhere, and I2PIPB

View Source
var UsabilityProfile []byte

UsabilityProfile is a zip of a Firefox profile with Jshelter, HTTPS Everywhere, uBlock Origin, LocalCDN, OICT, and I2PIPB

Functions

func BrowseApp

func BrowseApp(profileDir string, url ...string)

BrowseApp launches a Firefox browser configured to use I2P and waits for it to exit. The profile is in "Usability" mode

func BrowseStrict

func BrowseStrict(profileDir string, url ...string)

BrowseStrict launches a Firefox browser configured to use I2P and waits for it to exit. The profile is in "Strict" mode

func BrowseUsability

func BrowseUsability(profileDir string, url ...string)

BrowseUsability launches a Firefox browser configured to use I2P and waits for it to exit. The profile is in "Usability" mode

func UnpackBase

func UnpackBase(profileDir string) (string, error)

UnpackBase unpacks a "Strict" mode profile into the "profileDir" and returns the path to the profile and possibly, an error if something goes wrong. If everything works, the error will be nil

func UnpackUsability

func UnpackUsability(profileDir string) (string, error)

UnpackUsability unpacks a "Usability" mode profile into the "profileDir" and returns the path to the profile and possibly, an error if something goes wrong. If everything works, the error will be nil

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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