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.
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
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(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(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(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(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
Readme created from Go doc with goreadme
Copyright 2022
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Hide license