0
stars
0
forks
source link
Instructions for loading the extension in Chrome
Download or clone this repo
Unzip the downloaded folder
Build the repos as instructed below
Go to chrome://extensions in Chrome and turn on 'Developer mode'
Click on 'Load unpacked'
Select the folder dist-combo to load the combo extension
Select the fiolder dist-dweb to load the dweb extension
Instructions for loading the extension in Firefox
Download or clone this repo
Unzip the downloaded folder
Build the repos as instructed below
Go to about:debugging in Firefox and turn on 'Enable add-on debugging'
Click on 'Load temporary Add-on'
Select manifest.json from the folder dist-combo to load combo extension
Select manifest.json from the folder dist-dweb to load dweb extension
Instructions for testing the extension
Go to http://dweb.archive.org
The page is redirected
Messages will be logged to console of background script (Click Debug button in Firefox or on Chrome: chrome://extensions > dweb-ext > "background page" > console")
Tests we expect the extension to pass
Steps to build the two repos
Run npm install
to install dependencies and to download abhidas17695/wayback-machine-chrome, .
dist-dweb is the folder containing the standalone dweb extension
dist-combo is the folder containg the wayback-machine-chrome extension + dweb feature
Documentation
cpx , fs and download-git-repo are declared as dependencies
After installation of dependencies node download
is run
download.js downloads abhidas17695/wayback-machine-chrome into dist-combo , internetarchive/dweb-transports and internetarchive/dweb-objects.
To build combo extension the 2 bundles and bootloader.js are copied from dist-dweb to dist-combo
manifest.json of dist-combo is appropriately edited by changemanifest.json