deprecate webrtc control

This commit is contained in:
idk
2020-06-22 21:27:22 -04:00
parent 1eb293d754
commit a6b7f29bbd
3 changed files with 5 additions and 4 deletions

1
debian/changelog vendored
View File

@@ -1,6 +1,7 @@
i2psetproxy.js (0.73-1) UNRELEASED; urgency=low
* Update bookmarks format
* Deprecate WebRTC State Management
-- idk <hankhill19580@gmail.com> Mon, 22 JUN 2020 19:21:23 -0400

View File

@@ -131,7 +131,7 @@ setAllPrivacy();
function ResetPeerConnection() {
function reset(snowflake) {
var webrtc = false;
var webrtc = true;
console.log("No snowflake plugin found, pre-disabled WebRTC");
var rtc = browser.privacy.network.peerConnectionEnabled.set({
value: webrtc
@@ -160,7 +160,7 @@ function EnablePeerConnection() {
function AssurePeerConnection() {
function assure(webrtc) {
browser.privacy.network.peerConnectionEnabled.set({
value: webrtc.value
value: true
});
browser.privacy.network.networkPredictionEnabled.set({
value: false

View File

@@ -54,11 +54,11 @@
<p id="controlExplain">These controls are used to tailor your I2P Browsing Experience</p>
<ul>
<li class="application">
<!--<li class="application">
<a href="#" id="clear-browser-data">Clear Browsing Data:</a> <span class="applicationDesc" id="clear-desc">Use this to erase your browsing data.</span>
</li>
<li class="application"><input id="enable-web-rtc" name="enablewebrtc" type="checkbox" value="webrtc"> <label for="enable-web-rtc">Enable WebRTC <strong>with Proxy?</strong></label> <span class="applicationDesc" id="rtcDesc">WebRTC is disabled by default, but can be enabled by checking this box.</span></li>
<li class="application"><input id="enable-web-rtc" name="enablewebrtc" type="checkbox" value="webrtc"> <label for="enable-web-rtc">Enable WebRTC <strong>with Proxy?</strong></label> <span class="applicationDesc" id="rtcDesc">WebRTC is disabled by default, but can be enabled by checking this box.</span></li>-->
<li class="application">
<div class="panel-section-separator">