Skip to content
No description, website, or topics provided.
TypeScript JavaScript HTML Shell Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addon
background Switch to hyperdiscovery for networking (#23) Jul 4, 2019
test Add Dat DNS test Jul 2, 2019
web-api
.gitignore DatArchive API fixes + tests. (#16) May 6, 2019
Dockerfile
Jenkinsfile CI Fixes Apr 16, 2019
LICENSE
README.md Update readme May 20, 2019
azure-pipelines.yml
package-lock.json
package.json
postinstall.sh
tsconfig.json Switch over to typescript for background. Jan 16, 2019
update_version.js

README.md

Dat-webext

This is a Webextension which enables websites to be loaded over the dat:// protocol on Firefox. It uses the libdweb protocol handler to register the dat:// protocol, and polyfills for node's net and dgram APIs using libdweb's TCPSocket and UDPSocket in order to bundle the dat network implementation with the extension. More on how this works in this post

Try it out

Install dependencies and build:

npm install
npm run build

Run with web-ext (requires Firefox Developer Edition or Firefox Nightly installed):

npm run start

or, run in an existing firefox profile:

  • Disable the content sandbox (required for experimental APIs): In about:config, set the security.sandbox.content.level pref to 2.
  • Go to about:debugging
  • Select 'Load Temporary Add-on', and select addon/manifest.json from this repository.

License

MIT.

You can’t perform that action at this time.