Latest commit 9874180 Jan 19, 2017 @sualko sualko update documentation (fix #13)
Permalink
..
Failed to load latest commit information.
README.md update documentation (fix #13) Jan 19, 2017
bootstrap.js add firefox extension sample Oct 30, 2014
install.rdf add firefox extension sample Oct 30, 2014

README.md

Mozilla Firefox added support for screensharing in Firefox 33. The feature is currently only enabled for a small number of whitelisted domains which can be specified in the preferences. This extension is a bootstrapped extension that adds and removes simplewebrtc.com from the screensharing whitelist preference without user interaction.

Firefox 52 will drop the use of a whitelist and therefore also the need for a domain-specific extension.

How to build your own extension

  1. Download this code
  2. Replace simplewebrtc.com with your domain in bootstrap.js
  3. If necessary change name and description
  4. Create the XPI: zip screenshare.xpi bootstrap.js install.rdf
  5. Publish your extension

License

MPL 2.0

Based on an example by Mozilla's Brad Lassey which is licensed under MPL 2.0