another hack to deal with slightly different tag behavior
This commit is contained in:
10
privacy.js
10
privacy.js
@@ -179,9 +179,15 @@ function AssurePeerConnection() {
|
||||
rtc = browser.privacy.network.peerConnectionEnabled.get({});
|
||||
rtc.then(assure);
|
||||
}
|
||||
if (!isDroid()) browser.windows.onCreated.addListener(ResetPeerConnection);
|
||||
if (isDroid()) browser.tabs.onCreated.addListener(ResetPeerConnection);
|
||||
|
||||
var gettingInfo = browser.runtime.getPlatformInfo();
|
||||
gettingInfo.then(got => {
|
||||
if (got.os == "android") {
|
||||
browser.tabs.onCreated.addListener(ResetPeerConnection);
|
||||
} else {
|
||||
browser.windows.onCreated.addListener(ResetPeerConnection);
|
||||
}
|
||||
});
|
||||
//AssurePeerConnection();
|
||||
|
||||
function ResetDisableSavePasswords() {
|
||||
|
||||
Reference in New Issue
Block a user